@@ -346,7 +346,6 @@ |
||
346 | 346 | /** |
347 | 347 | * Retrieves internalSubset even in bugfixed php versions |
348 | 348 | * |
349 | - * @param \DOMDocumentType $child |
|
350 | 349 | * @param string $data |
351 | 350 | * @return string |
352 | 351 | */ |
@@ -127,6 +127,9 @@ discard block |
||
127 | 127 | return $doCData ? $this->document->createCDATASection($data) : $this->document->createTextNode((string)$data); |
128 | 128 | } |
129 | 129 | |
130 | + /** |
|
131 | + * @param string $data |
|
132 | + */ |
|
130 | 133 | public function visitSimpleString($data, array $type, Context $context) |
131 | 134 | { |
132 | 135 | if (null === $this->document) { |
@@ -474,6 +477,9 @@ discard block |
||
474 | 477 | return $this->document->createElementNS($namespace, $prefix . ':' . $tagName); |
475 | 478 | } |
476 | 479 | |
480 | + /** |
|
481 | + * @param string $value |
|
482 | + */ |
|
477 | 483 | private function setAttributeOnNode(\DOMElement $node, $name, $value, $namespace = null) |
478 | 484 | { |
479 | 485 | if (null !== $namespace) { |