Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | protected function getByeGroup(Championship $championship, $fighters) |
||
|
|||
17 | { |
||
18 | $fighterCount = $fighters->count(); |
||
19 | $preliminaryGroupSize = 2; |
||
20 | $treeSize = $this->getTreeSize($fighterCount, $preliminaryGroupSize); |
||
21 | $byeCount = $treeSize - $fighterCount; |
||
22 | |||
23 | return $this->createNullsGroup($byeCount); |
||
24 | } |
||
25 | |||
39 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.