@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | { |
| 35 | 35 | if ($championship->category->isTeam) { |
| 36 | 36 | $fighters = $group->teams; |
| 37 | - if (sizeof($fighters) == 0){ |
|
| 37 | + if (sizeof($fighters) == 0) { |
|
| 38 | 38 | $fighters->push(new Team()); |
| 39 | 39 | $fighters->push(new Team()); |
| 40 | 40 | } else if (count($fighters) % 2 != 0) { |
@@ -43,10 +43,10 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | } else { |
| 45 | 45 | $fighters = $group->competitors; |
| 46 | - if (sizeof($fighters) == 0){ // If |
|
| 46 | + if (sizeof($fighters) == 0) { // If |
|
| 47 | 47 | $fighters->push(new Competitor()); |
| 48 | 48 | $fighters->push(new Competitor()); |
| 49 | - }else if (count($fighters) % 2 != 0) { // If fighter is not pair, add a BYE |
|
| 49 | + } else if (count($fighters) % 2 != 0) { // If fighter is not pair, add a BYE |
|
| 50 | 50 | $fighters->push(new Competitor()); |
| 51 | 51 | } |
| 52 | 52 | |