@@ -27,7 +27,7 @@ |
||
27 | 27 | * |
28 | 28 | * @var callable |
29 | 29 | */ |
30 | - protected $sortHandler; |
|
30 | + protected $sortHandler; |
|
31 | 31 | |
32 | 32 | /** |
33 | 33 | * Maps the params to the repository |
@@ -31,8 +31,8 @@ |
||
31 | 31 | public function paginate(PaginationParamsInterface $paginationParams, $repository) |
32 | 32 | { |
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 | } |
@@ -138,7 +138,7 @@ |
||
138 | 138 | public function build($data): PaginationParamsInterface |
139 | 139 | { |
140 | 140 | if (!$data instanceof ServerRequestInterface) { |
141 | - return new static::$paginationParamsClass(); |
|
141 | + return new static::$paginationParamsClass(); |
|
142 | 142 | } |
143 | 143 | |
144 | 144 | return $this->mapRequest($data); |