From defde9fd0a96e32257d23a82131ab030452875ab Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 24 Jul 2023 12:41:48 +1000 Subject: [PATCH] Adjustments for return types --- app/Utils/Traits/MakesHash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utils/Traits/MakesHash.php b/app/Utils/Traits/MakesHash.php index cb8eb996f891..63c151b93530 100644 --- a/app/Utils/Traits/MakesHash.php +++ b/app/Utils/Traits/MakesHash.php @@ -62,7 +62,7 @@ trait MakesHash return $hashids->encode($value); } - public function decodePrimaryKey($value) : int + public function decodePrimaryKey($value) { try { $hashids = new Hashids(config('ninja.hash_salt'), 10);