@@ -56,7 +56,7 @@ discard block |
||
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 |
||
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 |