Passed
Push — master ( 9fa1a7...f53c15 )
by MusikAnimal
03:46
created
src/Xtools/AdminStats.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      */
126 126
     public function numDays()
127 127
     {
128
-        return ($this->end - $this->start) / 60 / 60 / 24;
128
+        return ($this->end-$this->start) / 60 / 60 / 24;
129 129
     }
130 130
 
131 131
     /**
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         $stats = $this->groupAdminStatsByUsername($stats, $abbreviateGroups);
155 155
 
156 156
         // Resort, as for some reason the SQL isn't doing this properly.
157
-        uasort($stats, function ($a, $b) {
157
+        uasort($stats, function($a, $b) {
158 158
             if ($a['total'] === $b['total']) {
159 159
                 return 0;
160 160
             }
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
      */
297 297
     public function getNumAdminsWithActions()
298 298
     {
299
-        return $this->numAdmins() - $this->adminsWithoutActions;
299
+        return $this->numAdmins()-$this->adminsWithoutActions;
300 300
     }
301 301
 
302 302
     /**
Please login to merge, or discard this patch.