1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

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

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);

View file

@ -23,7 +23,7 @@ class Any extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -58,7 +58,7 @@ class BaseList extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -61,7 +61,7 @@ class Collection extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -36,7 +36,7 @@ class Continent extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -36,7 +36,7 @@ class Country extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -66,7 +66,7 @@ class Currency extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -17,7 +17,7 @@ class Document extends Any
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -65,7 +65,7 @@ class Domain extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -42,7 +42,7 @@ class Error extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -39,7 +39,7 @@ class ErrorDev extends Error
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -85,7 +85,7 @@ class Execution extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -67,7 +67,7 @@ class File extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -110,7 +110,7 @@ class Func extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -31,7 +31,7 @@ class FuncPermissions extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -30,7 +30,7 @@ class HealthQueue extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -36,7 +36,7 @@ class HealthStatus extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -42,7 +42,7 @@ class HealthTime extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -29,7 +29,7 @@ class JWT extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -54,7 +54,7 @@ class Key extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -42,7 +42,7 @@ class Language extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -66,7 +66,7 @@ class Locale extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -126,7 +126,7 @@ class Log extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -79,7 +79,7 @@ class Membership extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -30,7 +30,7 @@ class Mock extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -23,7 +23,7 @@ class None extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -38,7 +38,7 @@ class Permissions extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -42,7 +42,7 @@ class Phone extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -76,7 +76,7 @@ class Platform extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -22,7 +22,7 @@ class Preferences extends Any
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -184,7 +184,7 @@ class Project extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -78,7 +78,7 @@ class Rule extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -156,7 +156,7 @@ class Session extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -54,7 +54,7 @@ class Tag extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -126,7 +126,7 @@ class Task extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -48,7 +48,7 @@ class Team extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -48,7 +48,7 @@ class Token extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -72,7 +72,7 @@ class User extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -72,7 +72,7 @@ class Webhook extends Model
}
/**
* Get Collection
* Get Type
*
* @return string
*/

View file

@ -223,7 +223,7 @@ class HealthCustomServerTest extends Scope
return [];
}
public function testStorageAntiVirusSuccess():array
public function testStorageAntivirusSuccess():array
{
/**
* Test for SUCCESS