@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * Copyright (c) Phauthentic (https://github.com/Phauthentic) |
5 | 5 | * |
@@ -52,12 +52,12 @@ discard block |
||
52 | 52 | |
53 | 53 | $countQuery = clone $repository; |
54 | 54 | $countQuery->select('COUNT(*) AS __count__'); |
55 | - $paginationParams->setCount((int)$countQuery->fetch()['__count__']); |
|
55 | + $paginationParams->setCount((int) $countQuery->fetch()['__count__']); |
|
56 | 56 | |
57 | 57 | /** @var $repository \Envms\FluentPDO\Query */ |
58 | 58 | $sortBy = $paginationParams->getSortBy(); |
59 | 59 | if ($sortBy !== null) { |
60 | - $repository->orderBy($sortBy . ' ' . $paginationParams->getDirection()); |
|
60 | + $repository->orderBy($sortBy.' '.$paginationParams->getDirection()); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | return $repository |