@@ -11,7 +11,7 @@ |
||
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 |
@@ -11,8 +11,8 @@ |
||
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 | } |
@@ -11,7 +11,7 @@ |
||
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 | }; |
@@ -9,7 +9,7 @@ |
||
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 | }; |
@@ -11,7 +11,7 @@ |
||
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 |
@@ -11,8 +11,8 @@ |
||
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 | }; |