Skip to content

Commit 5a6539f

Browse files
committed
Fix cs
1 parent 6a555ca commit 5a6539f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Filter/TransformFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class TransformFilter
1919
*/
2020
public function __invoke(array $value, callable $callback)
2121
{
22-
if (!$value) {
22+
if (empty($value)) {
2323
// The item will be skipped if "required" is not set
2424
return null;
2525
}

0 commit comments

Comments
 (0)