Completed
Push — master ( 65925d...2d1b3d )
by Daniel
08:05
created
src/DataTransformer/CollectionDataTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.