Completed
Push — master ( b864ec...120230 )
by Adrien
12s
created
src/Badger/Bundle/GameBundle/Controller/DefaultController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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()) {
Please login to merge, or discard this patch.
src/Badger/Bundle/UserBundle/Doctrine/Repository/UserRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
                 ->setParameter('lastDayOfMonth', date(sprintf('%s-%s-%s 23:59:59', $year, $month, $lastDay)))
132 132
             ->groupBy('u')
133 133
             ->having('badgeCompletions IN (:maxValues)')
134
-                ->setParameter('maxValues', $nbOfBadges,  Connection::PARAM_STR_ARRAY)
134
+                ->setParameter('maxValues', $nbOfBadges, Connection::PARAM_STR_ARRAY)
135 135
             ->orderBy('badgeCompletions', 'DESC')
136 136
         ;
137 137
 
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
             ->andWhere('bc.pending = 0')
157 157
             ->groupBy('u')
158 158
             ->having('badgeCompletions IN (:maxValues)')
159
-                ->setParameter('maxValues', $nbOfBadges,  Connection::PARAM_STR_ARRAY)
159
+                ->setParameter('maxValues', $nbOfBadges, Connection::PARAM_STR_ARRAY)
160 160
             ->orderBy('badgeCompletions', 'DESC')
161 161
         ;
162 162
 
Please login to merge, or discard this patch.