@@ -20,13 +20,13 @@ |
||
| 20 | 20 | { |
| 21 | 21 | if (array_key_exists('collection_resource', $context)) { |
| 22 | 22 | unset($context['object_to_populate']); |
| 23 | - return LazyCollection::make(function () use (&$data, &$format, &$context) { |
|
| 23 | + return LazyCollection::make(function() use (&$data, &$format, &$context) { |
|
| 24 | 24 | foreach ($data as $key => $value) { |
| 25 | 25 | yield $key => $this->serializer->denormalize($value, $context['collection_resource'], $format, $context); |
| 26 | 26 | } |
| 27 | 27 | }); |
| 28 | 28 | } |
| 29 | - return LazyCollection::make(function () use (&$data) { |
|
| 29 | + return LazyCollection::make(function() use (&$data) { |
|
| 30 | 30 | yield from $data; |
| 31 | 31 | }); |
| 32 | 32 | } |