| Conditions | 3 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 48 | public function print(): string |
||
| 49 | { |
||
| 50 | $lines = []; |
||
| 51 | if ($this->description !== '' && $this->description !== '0') { |
||
| 52 | $lines[] = sprintf('**%s**' . PHP_EOL, $this->description); |
||
| 53 | } |
||
| 54 | |||
| 55 | $lines[] = $this->codeSamples->map->print()->implode(PHP_EOL); |
||
| 56 | |||
| 57 | return implode(PHP_EOL, $lines); |
||
| 58 | } |
||
| 60 |