mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 15:33:44 +01:00
Added return types
This commit is contained in:
parent
3bef30d861
commit
ae9b23cba7
@ -159,7 +159,7 @@ class Yabs extends Model
|
|||||||
return $kbs / 1000;
|
return $kbs / 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function insertFromJson($data, string $server_id)
|
public static function insertFromJson($data, string $server_id): bool
|
||||||
{
|
{
|
||||||
$data = (object)$data;
|
$data = (object)$data;
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user