mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 13:33:48 +00:00
fix cs
This commit is contained in:
@@ -98,7 +98,7 @@ final class UserRepository implements ObjectRepository
|
||||
}
|
||||
|
||||
foreach ($orderBy as $field => $order) {
|
||||
$qb->addOrderBy('u.'.$field, $order);
|
||||
$qb->addOrderBy('u.' . $field, $order);
|
||||
}
|
||||
|
||||
return $qb->getQuery()->getResult();
|
||||
@@ -186,7 +186,6 @@ final class UserRepository implements ObjectRepository
|
||||
->add($qb->expr()->like('u.usernameCanonical', 'CONCAT(\'%\', LOWER(UNACCENT(:pattern)), \'%\')'))
|
||||
->add($qb->expr()->like('u.emailCanonical', 'CONCAT(\'%\', LOWER(UNACCENT(:pattern)), \'%\')'));
|
||||
|
||||
|
||||
$qb
|
||||
->where($searchByPattern)
|
||||
->setParameter('pattern', $pattern);
|
||||
|
Reference in New Issue
Block a user