Completed
Push — master ( 65dc69...503969 )
by Sérgio
03:10
created
src/gte.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
-    $gte = function ($a, $b) {
16
+    $gte = function($a, $b) {
17 17
         return $a >= $b;
18 18
     };
19 19
 
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 (callable $condition, callable $ontrue, callable $onfalse) {
15
-        return function ($x) use ($condition, $ontrue, $onfalse) {
14
+    $ifelse = function(callable $condition, callable $ontrue, callable $onfalse) {
15
+        return function($x) use ($condition, $ontrue, $onfalse) {
16 16
             if ($condition($x)) {
17 17
                 return $ontrue($x);
18 18
             }
Please login to merge, or discard this patch.
src/lte.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
-    $lte = function ($a, $b) {
16
+    $lte = function($a, $b) {
17 17
         return $a <= $b;
18 18
     };
19 19
 
Please login to merge, or discard this patch.
examples/pipe_native_funcs.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,20 +6,20 @@
 block discarded – undo
6 6
 
7 7
 $join = F\pipe(
8 8
     F\flatten(),
9
-    function ($xs) {
9
+    function($xs) {
10 10
         return implode(', ', $xs);
11 11
     }
12 12
 );
13 13
 
14 14
 $countries = F\pipe(
15
-    F\map(function ($x) {
15
+    F\map(function($x) {
16 16
         return $x['country'];
17 17
     }),
18 18
     $join
19 19
 );
20 20
 
21 21
 $cities = F\pipe(
22
-    F\map(function ($x) {
22
+    F\map(function($x) {
23 23
         return $x['cities'];
24 24
     }),
25 25
     $join
Please login to merge, or discard this patch.