Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
49 | 3 | protected function addElement(\DomDocument $document, \DOMElement $rootElement, NodeInterface $node) : void |
|
50 | { |
||
51 | 3 | $description = htmlspecialchars($node->getDescription()); |
|
52 | |||
53 | 3 | $rootElement->appendChild($document->createElement($this->getNodeName(), $description)); |
|
54 | 3 | } |
|
55 | } |
||
56 |