| 1 | <?php |
||
| 8 | class DirectEliminationTreeGen extends TreeGen |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Calculate the Byes need to fill the Championship Tree. |
||
| 13 | * @param Championship $championship |
||
| 14 | * @return Collection |
||
| 15 | */ |
||
| 16 | protected function getByeGroup(Championship $championship, $fighters) |
||
| 24 | |||
| 25 | |||
| 26 | /** |
||
| 27 | * Create empty groups for direct Elimination Tree |
||
| 28 | * @param $numFightersEliminatory |
||
| 29 | */ |
||
| 30 | public function pushEmptyGroupsToTree($numFightersEliminatory) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Chunk Fighters into groups for fighting, and optionnaly shuffle |
||
| 39 | * @param $round |
||
| 40 | * @param $shuffle |
||
| 41 | * @param $fightersByEntity |
||
| 42 | * @return Collection|null |
||
| 43 | */ |
||
| 44 | protected function chunkAndShuffle($round, $shuffle, $fightersByEntity) |
||
| 54 | } |
||
| 55 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.