Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
26 | public function appendToXml(\SimpleXMLElement &$parent): void { |
||
27 | 1 | $element = $parent->addChild("textInput"); |
|
28 | 1 | $element->addChild("title", $this->title); |
|
29 | 1 | $element->addChild("description", $this->description); |
|
30 | 1 | $element->addChild("name", $this->name); |
|
31 | 1 | $element->addChild("link", $this->link); |
|
32 | 1 | } |
|
34 | ?> |