Completed
Push — master ( cc4751...8819df )
by Adrien
12s
created
src/Badger/Bundle/UserBundle/Doctrine/Repository/UserRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
                 ->setParameter('lastDayOfMonth', date(sprintf('%s-%s-%s', $year, $month, $lastDay)))
107 107
             ->groupBy('u')
108 108
             ->having('badgeCompletions IN (:maxValues)')
109
-                ->setParameter('maxValues', $nbOfBadges,  Connection::PARAM_STR_ARRAY)
109
+                ->setParameter('maxValues', $nbOfBadges, Connection::PARAM_STR_ARRAY)
110 110
             ->orderBy('badgeCompletions', 'DESC')
111 111
         ;
112 112
 
Please login to merge, or discard this patch.
src/Badger/Bundle/GameBundle/Controller/DefaultController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 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
         {
30 30
             if ($a->isDefault()) {
31 31
                 return -1;
32
-            } else if($b->isDefault()) {
32
+            } else if ($b->isDefault()) {
33 33
                 return 1;
34 34
             }
35 35
         });
Please login to merge, or discard this patch.