| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | return $this->createNullsGroup($byeCount); |
||
| 24 | } |
||
| 25 | |||
| 26 | |||
| 27 | /** |
||
| 28 | * Create empty groups for direct Elimination Tree |
||
| 29 | * @param $numFighters |
||
| 30 | */ |
||
| 31 | public function pushEmptyGroupsToTree($numFighters) |
||
| 32 | { |
||
| 33 | // We calculate how much rounds we will have |
||
| 34 | $numFightersEliminatory = $numFighters; |
||
| 35 | $numRounds = intval(log($numFightersEliminatory, 2)); |
||
| 36 | $this->pushGroups($numRounds, $numFightersEliminatory, $shuffle = 1); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.