| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | private function rebuildCommandWithHeaders($command) |
||
| 32 | { |
||
| 33 | if (empty($this->headers)) { |
||
| 34 | return $command; |
||
| 35 | } |
||
| 36 | |||
| 37 | return Collection::make($command)->map(function ($command) { |
||
| 38 | return static::mergeBeforePathInput( |
||
| 39 | $command, |
||
| 40 | $this->getPathfile(), |
||
|
|
|||
| 41 | static::compileHeaders($this->headers) |
||
| 42 | ); |
||
| 43 | })->all(); |
||
| 44 | } |
||
| 46 |