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