| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | public function addHeaderConfig($contents): void |
||
| 46 | { |
||
| 47 | if (!is_array($contents)) { |
||
| 48 | $contents = array($contents); |
||
| 49 | } |
||
| 50 | $this->header = array_merge($this->header, $contents); |
||
| 51 | $this->logger->debug( |
||
| 52 | 'Added bash config', |
||
| 53 | array('contents' => implode(PHP_EOL, $contents)) |
||
| 54 | ); |
||
| 64 |