Completed
Push — master ( 5bcf9f...d39085 )
by Sérgio
02:42
created
src/each.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
 {
12 12
     $args = func_get_args();
13 13
 
14
-    $every = function (\Closure $fn, array $ls) {
14
+    $every = function(\Closure $fn, array $ls) {
15 15
         $keys = array_keys($ls);
16 16
         $count = (new \ReflectionFunction($fn))->getNumberOfRequiredParameters();
17 17
 
18
-        return array_reduce($keys, function ($carry, $key) use ($fn, $ls, $count) {
18
+        return array_reduce($keys, function($carry, $key) use ($fn, $ls, $count) {
19 19
             $args = $ls[$key];
20 20
 
21 21
             if ($count > 1) {
Please login to merge, or discard this patch.
src/filter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     $args = func_get_args();
15 15
 
16
-    $filter = function (\Closure $fn, array $ls) {
16
+    $filter = function(\Closure $fn, array $ls) {
17 17
         return array_filter($ls, $fn);
18 18
     };
19 19
 
Please login to merge, or discard this patch.