Passed
Pull Request — master (#186)
by MusikAnimal
06:06
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
             }
@@ -265,6 +265,6 @@  discard block
 block discarded – undo
265 265
      */
266 266
     public function getNumNonAdminsWithActions()
267 267
     {
268
-        return count($this->adminStats) - $this->numAdminsWithActions;
268
+        return count($this->adminStats)-$this->numAdminsWithActions;
269 269
     }
270 270
 }
Please login to merge, or discard this patch.