@@ -24,11 +24,11 @@ |
||
24 | 24 | $userTags = $this->getUser()->getTags()->toArray(); |
25 | 25 | |
26 | 26 | // Put default tag first |
27 | - usort($userTags, function ($a, $b) |
|
27 | + usort($userTags, function($a, $b) |
|
28 | 28 | { |
29 | 29 | if ($a->isDefault()) { |
30 | 30 | return -1; |
31 | - } else if($b->isDefault()) { |
|
31 | + } else if ($b->isDefault()) { |
|
32 | 32 | return 1; |
33 | 33 | } |
34 | 34 | }); |
@@ -102,7 +102,7 @@ |
||
102 | 102 | ->setParameter('lastDayOfMonth', date(sprintf('%s-%s-%s', $year, $month, $lastDay))) |
103 | 103 | ->groupBy('u') |
104 | 104 | ->having('badgeCompletions IN (:maxValues)') |
105 | - ->setParameter('maxValues', $maxValues, Connection::PARAM_STR_ARRAY) |
|
105 | + ->setParameter('maxValues', $maxValues, Connection::PARAM_STR_ARRAY) |
|
106 | 106 | ->orderBy('badgeCompletions', 'DESC') |
107 | 107 | ; |
108 | 108 |