| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | protected function buildCommand(FormatInterface $format, $outputPathfile) |
||
| 13 | { |
||
| 14 | $command = parent::buildCommand($format, $outputPathfile); |
||
| 15 | |||
| 16 | if (empty($this->headers)) { |
||
| 17 | return $command; |
||
| 18 | } |
||
| 19 | |||
| 20 | return Collection::make($command)->map(function ($command, $pass) { |
||
|
|
|||
| 21 | return static::mergeBeforePathInput( |
||
| 22 | $command, |
||
| 23 | $this->getPathfile(), |
||
| 24 | static::compileHeaders($this->headers) |
||
| 25 | ); |
||
| 26 | })->all(); |
||
| 27 | } |
||
| 29 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.