1
0
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:
cp6 2023-08-19 23:48:34 +10:00
parent 3bef30d861
commit ae9b23cba7

View File

@ -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 {