Passed
Push — master ( 59b1f2...d98836 )
by Julien
33:15
created
src/models/Championship.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,11 +23,11 @@
 block discarded – undo
23 23
     {
24 24
         parent::boot();
25 25
 
26
-        static::deleting(function ($championship) {
26
+        static::deleting(function($championship) {
27 27
             $championship->competitors()->delete();
28 28
             $championship->settings()->delete();
29 29
         });
30
-        static::restoring(function ($championship) {
30
+        static::restoring(function($championship) {
31 31
             $championship->competitors()->restore();
32 32
             $championship->settings()->restore();
33 33
         });
Please login to merge, or discard this patch.
src/TreeGen/TreeGen.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     private function getMaxFightersByEntity($userGroups): int
57 57
     {
58 58
         return $userGroups
59
-            ->sortByDesc(function ($group) {
59
+            ->sortByDesc(function($group) {
60 60
                 return $group->count();
61 61
             })
62 62
             ->first()
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     protected function getTreeSize($fighterCount, $groupSize)
93 93
     {
94 94
         $square = collect([1, 2, 4, 8, 16, 32, 64]);
95
-        $squareMultiplied = $square->map(function ($item, $key) use ($groupSize) {
95
+        $squareMultiplied = $square->map(function($item, $key) use ($groupSize) {
96 96
             return $item * $groupSize;
97 97
         });
98 98
 
Please login to merge, or discard this patch.