mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Fix CS
This commit is contained in:
@@ -15,10 +15,10 @@ class OrderRepository extends EntityRepository
|
||||
/**
|
||||
* Returns an array of all the orders, starting at $offsetStart, limited to $perPage
|
||||
*
|
||||
* @param array $baseIds
|
||||
* @param array $baseIds
|
||||
* @param integer $offsetStart
|
||||
* @param integer $perPage
|
||||
* @param string $sort
|
||||
* @param string $sort
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
@@ -34,7 +34,7 @@ class OrderRepository extends EntityRepository
|
||||
|
||||
if ($sort === 'user') {
|
||||
$qb->orderBy('o.userId', 'ASC');
|
||||
} else if ($sort === 'usage') {
|
||||
} elseif ($sort === 'usage') {
|
||||
$qb->orderBy('o.orderUsage', 'ASC');
|
||||
} else {
|
||||
$qb->orderBy('o.createdOn', 'ASC');
|
||||
|
Reference in New Issue
Block a user