@@ -120,7 +120,7 @@ |
||
| 120 | 120 | ->innerJoin('o.translations', 'translation') |
| 121 | 121 | ->andWhere('translation.name LIKE :name') |
| 122 | 122 | ->andWhere('translation.locale = :locale') |
| 123 | - ->setParameter('name', '%'.$phrase.'%') |
|
| 123 | + ->setParameter('name', '%' . $phrase . '%') |
|
| 124 | 124 | ->setParameter('locale', $locale) |
| 125 | 125 | ->getQuery() |
| 126 | 126 | ->getResult() |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | * PHP 5.* bug, fixed in PHP 7: https://bugs.php.net/bug.php?id=50688 |
| 54 | 54 | * "usort(): Array was modified by the user comparison function" |
| 55 | 55 | */ |
| 56 | - @usort($countries, function($a, $b) { |
|
| 56 | + @usort($countries, function ($a, $b) { |
|
| 57 | 57 | return $a->getName() < $b->getName() ? -1 : 1; |
| 58 | 58 | }); |
| 59 | 59 | |