| Conditions | 4 |
| Paths | 6 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | public function blockLines(OutputBlock $block) |
||
| 43 | { |
||
| 44 | $inner = $this->indentStr(); |
||
| 45 | |||
| 46 | $glue = $this->break . $inner; |
||
| 47 | |||
| 48 | foreach ($block->lines as $index => $line) { |
||
| 49 | if (substr($line, 0, 2) === '/*') { |
||
| 50 | unset($block->lines[$index]); |
||
| 51 | } |
||
| 52 | } |
||
| 53 | |||
| 54 | $this->write($inner . implode($glue, $block->lines)); |
||
| 55 | |||
| 56 | if (! empty($block->children)) { |
||
| 57 | $this->write($this->break); |
||
| 58 | } |
||
| 61 |