mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 01:42:19 +00:00
Remove reference to guard from models.
This commit is contained in:
@@ -65,7 +65,7 @@ class PiggyBank extends Model
|
||||
*
|
||||
* @return PiggyBank
|
||||
*/
|
||||
public static function routeBinder($guard, string $value): PiggyBank
|
||||
public static function routeBinder(string $value): PiggyBank
|
||||
{
|
||||
if ($guard->check()) {
|
||||
$piggyBankId = intval($value);
|
||||
|
Reference in New Issue
Block a user