Completed
Push — develop ( 0859a0...54c2ec )
by Daniel
11:11
created
src/DataModifier/CollectionModifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             ]
81 81
         ];
82 82
         if ($collectionEntity->getPerPage() !== null && ($request = $this->requestStack->getCurrentRequest())) {
83
-            $request->attributes->set('_api_pagination', [ 'itemsPerPage' => $collectionEntity->getPerPage(), 'pagination' => 'true' ]);
83
+            $request->attributes->set('_api_pagination', ['itemsPerPage' => $collectionEntity->getPerPage(), 'pagination' => 'true']);
84 84
         }
85 85
 
86 86
         /** @var Paginator $collection */
Please login to merge, or discard this patch.