@@ -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 | } |
@@ -265,6 +265,6 @@ discard block |
||
| 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 | } |