Completed
Push — master ( e0f246...b9bc84 )
by Sérgio
04:27
created
src/each.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
-    $each = function (\Closure $fn, array $ls) {
14
+    $each = function(\Closure $fn, array $ls) {
15 15
         array_walk($ls, $fn);
16 16
         return $ls;
17 17
     };
Please login to merge, or discard this patch.
src/append.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
-    $append = function ($el, array $ls) {
14
+    $append = function($el, array $ls) {
15 15
         array_push($ls, $el);
16 16
         return $ls;
17 17
     };
Please login to merge, or discard this patch.
src/prepend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     $args = func_get_args();
11 11
 
12
-    $prepend = function ($el, array $ls) {
12
+    $prepend = function($el, array $ls) {
13 13
         array_unshift($ls, $el);
14 14
         return $ls;
15 15
     };
Please login to merge, or discard this patch.
src/lt.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
-    $lt = function ($a, $b) {
14
+    $lt = function($a, $b) {
15 15
         return $a < $b;
16 16
     };
17 17
 
Please login to merge, or discard this patch.
src/always.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 {
12 12
     $args = func_get_args();
13 13
 
14
-    $always = function ($val) {
15
-        return function () use ($val) {
14
+    $always = function($val) {
15
+        return function() use ($val) {
16 16
             return $val;
17 17
         };
18 18
     };
Please login to merge, or discard this patch.
src/ifelse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 {
12 12
     $args = func_get_args();
13 13
 
14
-    $ifelse = function ($condition, $ontrue, $onfalse) {
15
-        return function ($args) use ($condition, $ontrue, $onfalse) {
14
+    $ifelse = function($condition, $ontrue, $onfalse) {
15
+        return function($args) use ($condition, $ontrue, $onfalse) {
16 16
             if (call_user_func($condition, $args)) {
17 17
                 return call_user_func($ontrue, $args);
18 18
             }
Please login to merge, or discard this patch.
src/get.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 {
16 16
     $args = func_get_args();
17 17
 
18
-    $get = function ($map, $key, $notfound = false) {
18
+    $get = function($map, $key, $notfound = false) {
19 19
         $map = (array) $map;
20 20
         
21 21
         if (array_key_exists($key, $map)) {
Please login to merge, or discard this patch.