@@ -11,7 +11,7 @@ |
||
| 11 | 11 | { |
| 12 | 12 | $args = func_get_args(); |
| 13 | 13 | |
| 14 | - $prop = function ($prop, $ls, $default = false) { |
|
| 14 | + $prop = function($prop, $ls, $default = false) { |
|
| 15 | 15 | $ls = (array) $ls; |
| 16 | 16 | |
| 17 | 17 | if (has($prop, $ls)) { |
@@ -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 | } |