Skip to content

Commit 1851daf

Browse files
authored
fix: for isEmpty check error
1 parent de8da37 commit 1851daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ValidatorList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static function isEmpty($val)
2626
$val = trim($val);
2727
}
2828

29-
return $val === '' && $val === null && $val === false && $val === [];
29+
return $val === '' || $val === null || $val === false || $val === [];
3030
}
3131

3232
/**

0 commit comments

Comments
 (0)