@@ -128,7 +128,7 @@ |
||
| 128 | 128 | return $collection; |
| 129 | 129 | } else { |
| 130 | 130 | return Collection::{$getterType}(array_map( |
| 131 | - function ($item) use ($getter) { |
|
| 131 | + function($item) use ($getter) { |
|
| 132 | 132 | return $item->{$getter}(); |
| 133 | 133 | }, |
| 134 | 134 | $this->jsonSerialize() |