@@ -110,7 +110,7 @@ |
||
| 110 | 110 | ->setParameter('lastDayOfMonth', date(sprintf('%s-%s-%s 23:59:59', $year, $month, $lastDay))) |
| 111 | 111 | ->groupBy('u') |
| 112 | 112 | ->having('badgeCompletions IN (:maxValues)') |
| 113 | - ->setParameter('maxValues', $nbOfBadges, Connection::PARAM_STR_ARRAY) |
|
| 113 | + ->setParameter('maxValues', $nbOfBadges, Connection::PARAM_STR_ARRAY) |
|
| 114 | 114 | ->orderBy('badgeCompletions', 'DESC') |
| 115 | 115 | ; |
| 116 | 116 | |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $date = new \DateTime(); |
| 26 | 26 | |
| 27 | 27 | // Put default tag first |
| 28 | - usort($userTags, function ($a, $b) { |
|
| 28 | + usort($userTags, function($a, $b) { |
|
| 29 | 29 | if ($a->isDefault()) { |
| 30 | 30 | return -1; |
| 31 | 31 | } elseif ($b->isDefault()) { |