Completed
Push — master ( 48e786...9ba888 )
by Sérgio
02:42
created
src/prop.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     $args = func_get_args();
13 13
 
14
-    $prop = function ($x, array $xs) {
14
+    $prop = function($x, array $xs) {
15 15
         if (array_key_exists($x, $xs)) {
16 16
             return $xs[$x];
17 17
         }
Please login to merge, or discard this patch.
src/hold.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,17 +11,17 @@
 block discarded – undo
11 11
 {
12 12
     $args = func_get_args();
13 13
     $placeholder = pipe(
14
-        filter(function ($x) {
14
+        filter(function($x) {
15 15
             return _ === $x;
16 16
         }),
17 17
         'array_keys'
18 18
     );
19 19
 
20
-    $hold = function (callable $fn) use ($placeholder) {
20
+    $hold = function(callable $fn) use ($placeholder) {
21 21
         $args = array_slice(func_get_args(), 1);
22 22
         $ks = $placeholder($args);
23 23
 
24
-        return function ($x) use ($fn, $args, $ks) {
24
+        return function($x) use ($fn, $args, $ks) {
25 25
             if ([] === $ks) {
26 26
                 return call_user_func_array($fn, array_merge($args, [$x]));
27 27
             }
Please login to merge, or discard this patch.
src/drop.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     $args = func_get_args();
13 13
 
14
-    $drop = function ($n, array $xs) {
14
+    $drop = function($n, array $xs) {
15 15
         return array_slice($xs, $n);
16 16
     };
17 17
 
Please login to merge, or discard this patch.