mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 13:54:30 -04:00
Adjustments for return types
This commit is contained in:
parent
60a8348ac3
commit
defde9fd0a
@ -62,7 +62,7 @@ trait MakesHash
|
|||||||
return $hashids->encode($value);
|
return $hashids->encode($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function decodePrimaryKey($value) : int
|
public function decodePrimaryKey($value)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$hashids = new Hashids(config('ninja.hash_salt'), 10);
|
$hashids = new Hashids(config('ninja.hash_salt'), 10);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user