Post-PR review fixes

This commit is contained in:
Matej Baco
2021-12-15 11:19:29 +01:00
parent 5b1378d324
commit ea7b5970c3
41 changed files with 45 additions and 45 deletions
+6 -6
View File
@@ -25,7 +25,7 @@ App::get('/v1/health')
$output = [
'status' => 'pass',
'checkTime' => 0
'ping' => 0
];
$response->dynamic(new Document($output), Response::MODEL_HEALTH_STATUS);
@@ -79,7 +79,7 @@ App::get('/v1/health/db')
$output = [
'status' => 'pass',
'checkTime' => \microtime(true) - $checkStart
'ping' => \microtime(true) - $checkStart
];
$response->dynamic(new Document($output), Response::MODEL_HEALTH_STATUS);
@@ -113,7 +113,7 @@ App::get('/v1/health/cache')
$output = [
'status' => 'pass',
'checkTime' => \microtime(true) - $checkStart
'ping' => \microtime(true) - $checkStart
];
$response->dynamic(new Document($output), Response::MODEL_HEALTH_STATUS);
@@ -169,8 +169,8 @@ App::get('/v1/health/time')
}
$output = [
'remote' => $timestamp,
'local' => \time(),
'remoteTime' => $timestamp,
'localTime' => \time(),
'diff' => $diff
];
@@ -321,7 +321,7 @@ App::get('/v1/health/storage/local')
$output = [
'status' => 'pass',
'checkTime' => \microtime(true) - $checkStart
'ping' => \microtime(true) - $checkStart
];
$response->dynamic(new Document($output), Response::MODEL_HEALTH_STATUS);
+1 -1
View File
@@ -23,7 +23,7 @@ class Any extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -58,7 +58,7 @@ class BaseList extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -61,7 +61,7 @@ class Collection extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -36,7 +36,7 @@ class Continent extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -36,7 +36,7 @@ class Country extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -66,7 +66,7 @@ class Currency extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -17,7 +17,7 @@ class Document extends Any
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -65,7 +65,7 @@ class Domain extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -42,7 +42,7 @@ class Error extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -39,7 +39,7 @@ class ErrorDev extends Error
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -85,7 +85,7 @@ class Execution extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -67,7 +67,7 @@ class File extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -110,7 +110,7 @@ class Func extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -31,7 +31,7 @@ class FuncPermissions extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -30,7 +30,7 @@ class HealthQueue extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -36,7 +36,7 @@ class HealthStatus extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -42,7 +42,7 @@ class HealthTime extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -29,7 +29,7 @@ class JWT extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -54,7 +54,7 @@ class Key extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -42,7 +42,7 @@ class Language extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -66,7 +66,7 @@ class Locale extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -126,7 +126,7 @@ class Log extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -79,7 +79,7 @@ class Membership extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -30,7 +30,7 @@ class Mock extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -23,7 +23,7 @@ class None extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -38,7 +38,7 @@ class Permissions extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -42,7 +42,7 @@ class Phone extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -76,7 +76,7 @@ class Platform extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -22,7 +22,7 @@ class Preferences extends Any
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -184,7 +184,7 @@ class Project extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -78,7 +78,7 @@ class Rule extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -156,7 +156,7 @@ class Session extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -54,7 +54,7 @@ class Tag extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -126,7 +126,7 @@ class Task extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -48,7 +48,7 @@ class Team extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -48,7 +48,7 @@ class Token extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
+1 -1
View File
@@ -72,7 +72,7 @@ class User extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -72,7 +72,7 @@ class Webhook extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/
@@ -223,7 +223,7 @@ class HealthCustomServerTest extends Scope
return [];
}
public function testStorageAntiVirusSuccess():array
public function testStorageAntivirusSuccess():array
{
/**
* Test for SUCCESS