mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 22:48:18 +00:00
Various phpstan fixes
This commit is contained in:
@@ -100,7 +100,7 @@ class EditController extends Controller
|
||||
$oldTriggers = $this->parseFromOperators($operators);
|
||||
}
|
||||
// has old input?
|
||||
if (count($request->old()) > 0) {
|
||||
if (null !== $request->old() && is_array($request->old()) && count($request->old()) > 0) {
|
||||
$oldTriggers = $this->getPreviousTriggers($request);
|
||||
$oldActions = $this->getPreviousActions($request);
|
||||
}
|
||||
|
Reference in New Issue
Block a user