Completed
Push — master ( d39085...c63e6d )
by Sérgio
02:29
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
         $params = (new \ReflectionFunction($fn))->getNumberOfRequiredParameters();
17 17
 
18
-        return array_reduce($keys, function (array $carry, $key) use ($fn, $params) {
18
+        return array_reduce($keys, function(array $carry, $key) use ($fn, $params) {
19 19
             $args = [
20 20
                 $carry[$key]
21 21
             ];
Please login to merge, or discard this patch.
src/curry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     $args = tail(func_get_args());
15 15
     $params = (new \ReflectionFunction($fn))->getNumberOfRequiredParameters();
16 16
 
17
-    return function () use ($fn, $args, $params) {
17
+    return function() use ($fn, $args, $params) {
18 18
         $args = array_merge($args, func_get_args());
19 19
 
20 20
         if ($params > count($args)) {
Please login to merge, or discard this patch.