@@ -8,8 +8,8 @@ discard block |
||
8 | 8 | protected function findAll(): array |
9 | 9 | { |
10 | 10 | $this->qb |
11 | - ->setMaxResults($this->limit) |
|
12 | - ->setFirstResult($this->offset); |
|
11 | + ->setMaxResults($this->limit) |
|
12 | + ->setFirstResult($this->offset); |
|
13 | 13 | |
14 | 14 | return $this->qb->execute()->fetchAll(); |
15 | 15 | } |
@@ -20,9 +20,9 @@ discard block |
||
20 | 20 | $countFrom = $this->getCountFrom(); |
21 | 21 | |
22 | 22 | $qb->select("COUNT($countFrom)") |
23 | - ->setMaxResults(null) |
|
24 | - ->setFirstResult(null) |
|
25 | - ->resetQueryPart('orderBy'); |
|
23 | + ->setMaxResults(null) |
|
24 | + ->setFirstResult(null) |
|
25 | + ->resetQueryPart('orderBy'); |
|
26 | 26 | |
27 | 27 | return (int) $qb->execute()->fetchColumn(); |
28 | 28 | } |