Replace phpstan suggestions

This commit is contained in:
James Cole
2022-10-30 14:44:49 +01:00
parent c032ffd4f9
commit 33f370359c
45 changed files with 99 additions and 87 deletions

View File

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