| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 20 | protected function formatMultiLine(string $indentation) |
||
| 21 | { |
||
| 22 | $formattedCode = ['/**']; |
||
| 23 | |||
| 24 | // Prepend inner indentation to code |
||
| 25 | foreach ($this->code as $codeLine) { |
||
| 26 | $formattedCode[] = ' * ' . $codeLine; |
||
| 27 | } |
||
| 28 | |||
| 29 | $formattedCode[] = ' */'; |
||
| 30 | |||
| 31 | return implode("\n" . $indentation, $formattedCode); |
||
| 32 | } |
||
| 33 | |||
| 46 |