mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Remove reference to guard from models.
This commit is contained in:
@@ -72,7 +72,7 @@ class TransactionType extends Model
|
||||
*
|
||||
* @return Model|null|static
|
||||
*/
|
||||
public static function routeBinder($guard, string $type): TransactionType
|
||||
public static function routeBinder(string $type): TransactionType
|
||||
{
|
||||
if (!$guard->check()) {
|
||||
throw new NotFoundHttpException();
|
||||
|
||||
Reference in New Issue
Block a user