Test Failed
Push — master ( dc8c67...628500 )
by MusikAnimal
06:31
created
src/AppBundle/Model/AdminStats.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.