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 6a555ca commit 5a6539fCopy full SHA for 5a6539f
src/Filter/TransformFilter.php
@@ -19,7 +19,7 @@ final class TransformFilter
19
*/
20
public function __invoke(array $value, callable $callback)
21
{
22
- if (!$value) {
+ if (empty($value)) {
23
// The item will be skipped if "required" is not set
24
return null;
25
}
0 commit comments