Completed
Push — master ( b03e32...ac7ae3 )
by Sérgio
05:24
created
src/gt.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
-    $gt = function ($a, $b) {
14
+    $gt = function($a, $b) {
15 15
         return $a > $b;
16 16
     };
17 17
 
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/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.