Adjustments for return types

This commit is contained in:
David Bomba 2023-07-24 12:41:48 +10:00
parent 60a8348ac3
commit defde9fd0a

View File

@ -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);