@@ -29,14 +29,14 @@ |
||
| 29 | 29 | |
| 30 | 30 | public function __call($method, $args) |
| 31 | 31 | { |
| 32 | - return $this->underscore->{$this->method}(function ($item) use ($method, $args) { |
|
| 32 | + return $this->underscore->{$this->method}(function($item) use ($method, $args) { |
|
| 33 | 33 | return \call_user_func_array([$item, $method], $args); |
| 34 | 34 | }); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | public function __get($prop) |
| 38 | 38 | { |
| 39 | - return $this->underscore->{$this->method}(function ($item) use ($prop) { |
|
| 39 | + return $this->underscore->{$this->method}(function($item) use ($prop) { |
|
| 40 | 40 | $props = \array_column([$item], $prop); |
| 41 | 41 | |
| 42 | 42 | return empty($props) ? null : $props[0]; |