Completed
Push — master ( 75d382...ae8aef )
by Julien
08:37
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
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     private function getMaxFightersByEntity($userGroups): int
56 56
     {
57 57
         return $userGroups
58
-            ->sortByDesc(function ($group) {
58
+            ->sortByDesc(function($group) {
59 59
                 return $group->count();
60 60
             })
61 61
             ->first()
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     protected function getTreeSize($fighterCount, $groupSize)
94 94
     {
95 95
         $square = collect([1, 2, 4, 8, 16, 32, 64]);
96
-        $squareMultiplied = $square->map(function ($item) use ($groupSize) {
96
+        $squareMultiplied = $square->map(function($item) use ($groupSize) {
97 97
             return $item * $groupSize;
98 98
         });
99 99
 
Please login to merge, or discard this patch.