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

@@ -114,7 +114,7 @@ class UpdateRequest extends FormRequest
}
$return[] = $current;
}
if (empty($return)) {
if (0 === count($return)) {
return null;
}