| Conditions | 6 |
| Paths | 16 |
| Total Lines | 43 |
| Code Lines | 21 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 40 | * @param $shuffle |
||
| 41 | * @param $fightersByEntity |
||
| 42 | * @return Collection|null |
||
| 43 | */ |
||
| 44 | protected function chunkAndShuffle($round, $shuffle, $fightersByEntity) |
||
| 45 | { |
||
| 46 | $fightersGroup = null; |
||
| 47 | |||
| 48 | $fightersGroup = $fightersByEntity->chunk(2); |
||
| 49 | if ($shuffle) { |
||
| 50 | $fightersGroup = $fightersGroup->shuffle(); |
||
| 51 | } |
||
| 52 | return $fightersGroup; |
||
| 53 | } |
||
| 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.