Passed
Push — master ( 100885...089bea )
by Ilham
01:55
created
src/Kernel/Support/Arr.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 
92 92
     public static function flatten(array $array, $depth = INF)
93 93
     {
94
-        return array_reduce($array, function($result, $item) use ($depth) {
94
+        return array_reduce($array, function ($result, $item) use ($depth) {
95 95
             $item = $item instanceof Collection ? $item->all() : $item;
96 96
             if (!is_array($item)) {
97 97
                 return array_merge($result, [$item]);
Please login to merge, or discard this patch.