@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | * This file contains only the AdminStats class. |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | -declare(strict_types = 1); |
|
| 6 | +declare(strict_types=1); |
|
| 7 | 7 | |
| 8 | 8 | namespace AppBundle\Model; |
| 9 | 9 | |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | $stats = $this->groupStatsByUsername($stats, $abbreviateGroups); |
| 108 | 108 | |
| 109 | 109 | // Resort, as for some reason the SQL isn't doing this properly. |
| 110 | - uasort($stats, function ($a, $b) { |
|
| 110 | + uasort($stats, function($a, $b) { |
|
| 111 | 111 | if ($a['total'] === $b['total']) { |
| 112 | 112 | return 0; |
| 113 | 113 | } |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | */ |
| 192 | 192 | public function numDays(): int |
| 193 | 193 | { |
| 194 | - return (int)(($this->end - $this->start) / 60 / 60 / 24); |
|
| 194 | + return (int)(($this->end-$this->start) / 60 / 60 / 24); |
|
| 195 | 195 | } |
| 196 | 196 | |
| 197 | 197 | /** |
@@ -285,6 +285,6 @@ discard block |
||
| 285 | 285 | */ |
| 286 | 286 | public function getNumWithActionsNotInGroup(): int |
| 287 | 287 | { |
| 288 | - return count($this->adminStats) - $this->numWithActions; |
|
| 288 | + return count($this->adminStats)-$this->numWithActions; |
|
| 289 | 289 | } |
| 290 | 290 | } |