@@ -80,7 +80,7 @@ |
||
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 */ |