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