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