@@ -5,7 +5,7 @@ |
||
5 | 5 | foreach ($championship->fightersGroups as $group) { |
6 | 6 | $group->fixTree(); |
7 | 7 | } |
8 | -$directEliminationTree = $championship->fightersGroups->where('round', '>=', $hasPreliminary +1 )->groupBy('round'); |
|
8 | +$directEliminationTree = $championship->fightersGroups->where('round', '>=', $hasPreliminary + 1)->groupBy('round'); |
|
9 | 9 | |
10 | 10 | $treeGen = new CreateDirectEliminationTree($directEliminationTree, $championship, $hasPreliminary); |
11 | 11 | $treeGen->build(); |