@@ -132,6 +132,9 @@ discard block |
||
132 | 132 | return $doCData ? $this->document->createCDATASection($data) : $this->document->createTextNode((string) $data); |
133 | 133 | } |
134 | 134 | |
135 | + /** |
|
136 | + * @param string $data |
|
137 | + */ |
|
135 | 138 | public function visitSimpleString($data, array $type, Context $context) |
136 | 139 | { |
137 | 140 | if (null === $this->document) { |
@@ -478,6 +481,9 @@ discard block |
||
478 | 481 | return $this->document->createElementNS($namespace, $prefix . ':' . $tagName); |
479 | 482 | } |
480 | 483 | |
484 | + /** |
|
485 | + * @param string $value |
|
486 | + */ |
|
481 | 487 | private function setAttributeOnNode(\DOMElement $node, $name, $value, $namespace = null) |
482 | 488 | { |
483 | 489 | if (null !== $namespace) { |