@@ -31,8 +31,8 @@ |
||
31 | 31 | */ |
32 | 32 | public function map(PaginationParamsInterface $paginationParams, $repository) { |
33 | 33 | $query = $repository |
34 | - ->setFirstResult($paginationParams->getCurrentPage()) |
|
35 | - ->setMaxResults($paginationParams->getLimit()); |
|
34 | + ->setFirstResult($paginationParams->getCurrentPage()) |
|
35 | + ->setMaxResults($paginationParams->getLimit()); |
|
36 | 36 | |
37 | 37 | return new Paginator($query, $fetchJoinCollection = true); |
38 | 38 | } |