@@ -12,7 +12,8 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | class OrdersRepository extends EntityRepository |
| 14 | 14 | { |
| 15 | - protected function getLast($count) { |
|
| 15 | + protected function getLast($count) |
|
| 16 | + { |
|
| 16 | 17 | $query = $this->createQueryBuilder('o') |
| 17 | 18 | ->orderBy('o.id', 'DESC') |
| 18 | 19 | ->setMaxResults($count); |