We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de8da37 commit 1851dafCopy full SHA for 1851daf
src/ValidatorList.php
@@ -26,7 +26,7 @@ public static function isEmpty($val)
26
$val = trim($val);
27
}
28
29
- return $val === '' && $val === null && $val === false && $val === [];
+ return $val === '' || $val === null || $val === false || $val === [];
30
31
32
/**
0 commit comments