Skip to content

Commit c36eeb2

Browse files
committed
php 7.3 support
1 parent c16367a commit c36eeb2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Illuminate/Collections/Arr.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,9 @@ public static function where($array, callable $callback)
725725
*/
726726
public static function whereNotNull($array)
727727
{
728-
return static::where($array, fn ($x) => ! is_null($x));
728+
return static::where($array, function ($value) {
729+
return ! is_null($value);
730+
});
729731
}
730732

731733
/**

0 commit comments

Comments
 (0)