From ae9b23cba7ae1cfc4f0681ca836a9d2ca157015e Mon Sep 17 00:00:00 2001 From: cp6 Date: Sat, 19 Aug 2023 23:48:34 +1000 Subject: [PATCH] Added return types --- app/Models/Yabs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Yabs.php b/app/Models/Yabs.php index aad00b0..29bbc12 100644 --- a/app/Models/Yabs.php +++ b/app/Models/Yabs.php @@ -159,7 +159,7 @@ class Yabs extends Model return $kbs / 1000; } - public static function insertFromJson($data, string $server_id) + public static function insertFromJson($data, string $server_id): bool { $data = (object)$data; try {