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