@@ -124,7 +124,7 @@ |
||
| 124 | 124 | return $collection; |
| 125 | 125 | } else { |
| 126 | 126 | return Collection::{$getterType}(array_map( |
| 127 | - function ($item) use ($property) { |
|
| 127 | + function($item) use ($property) { |
|
| 128 | 128 | return $item->{$property}(); |
| 129 | 129 | }, |
| 130 | 130 | $this->jsonSerialize() |