PHPStan: Fix level 4 errors

This commit is contained in:
Jakub Vrana
2025-03-26 18:32:45 +01:00
parent 53d5e7b60a
commit c78299a3f6
7 changed files with 73 additions and 51 deletions

View File

@@ -854,7 +854,7 @@ AND typelem = 0"
}
$fields = fields($table);
if (!$status || empty($fields)) {
if (count($status) < 2 || empty($fields)) {
return false;
}