@@ -125,7 +125,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | /** |