@@ -89,7 +89,7 @@ |
||
| 89 | 89 | /** @var Paginator|array $collection */ |
| 90 | 90 | $collection = $this->dataProvider->getCollection($object->getResource(), Request::METHOD_GET, $dataProviderContext); |
| 91 | 91 | if ($collection instanceof Paginator) { |
| 92 | - $collection = (array)$collection->getIterator(); |
|
| 92 | + $collection = (array) $collection->getIterator(); |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | $normalizedCollection = $this->itemNormalizer->normalize( |