Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
46 | public function getReplacementCommand(CommandData $commandData) { |
||
47 | $replaceCommandHooks = $this->getReplaceCommandHooks($commandData); |
||
48 | |||
49 | // We only take the first hook implementation of "replace-command" as the replacement. Commands shouldn't have |
||
50 | // more than one replacement. |
||
51 | $replacementCommand = reset($replaceCommandHooks); |
||
52 | |||
53 | return $replacementCommand; |
||
54 | } |
||
55 | } |
||
56 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.