mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Replace phpstan suggestions
This commit is contained in:
@@ -55,7 +55,7 @@ class BudgetList implements BinderInterface
|
||||
|
||||
|
||||
if (empty($list)) {
|
||||
Log::warning('Budget list count is zero, return 404.');
|
||||
app('log')->warning('Budget list count is zero, return 404.');
|
||||
throw new NotFoundHttpException();
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ class BudgetList implements BinderInterface
|
||||
return $collection;
|
||||
}
|
||||
}
|
||||
Log::warning('BudgetList fallback to 404.');
|
||||
app('log')->warning('BudgetList fallback to 404.');
|
||||
throw new NotFoundHttpException();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user