| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | final class CodeRenderer implements NodeRendererInterface, XmlNodeRendererInterface |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * @param Code $node |
||
| 31 | * |
||
| 32 | * {@inheritDoc} |
||
| 33 | * |
||
| 34 | * @psalm-suppress MoreSpecificImplementedParamType |
||
| 35 | */ |
||
| 36 | 123 | public function render(Node $node, ChildNodeRendererInterface $childRenderer) |
|
| 43 | } |
||
| 44 | |||
| 45 | 9 | public function getXmlTagName(Node $node): string |
|
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritDoc} |
||
| 52 | */ |
||
| 53 | 9 | public function getXmlAttributes(Node $node): array |
|
| 58 |