@@ -345,18 +345,18 @@ |
||
| 345 | 345 | return $this->importNode($element, true); |
| 346 | 346 | } |
| 347 | 347 | |
| 348 | - /** |
|
| 349 | - * Append a child to the context node, make it the first child |
|
| 350 | - * |
|
| 351 | - * @param ...$nodes |
|
| 352 | - * ...$nodes can either be an XML string, a DOMDocument, or a DOMElement. |
|
| 353 | - * newnode, context |
|
| 354 | - * |
|
| 355 | - * @return void |
|
| 356 | - * As per new DOMDocumentt prototype |
|
| 357 | - * Nothing to return. |
|
| 358 | - */ |
|
| 359 | - public function append(...$nodes) : void { |
|
| 348 | + /** |
|
| 349 | + * Append a child to the context node, make it the first child |
|
| 350 | + * |
|
| 351 | + * @param ...$nodes |
|
| 352 | + * ...$nodes can either be an XML string, a DOMDocument, or a DOMElement. |
|
| 353 | + * newnode, context |
|
| 354 | + * |
|
| 355 | + * @return void |
|
| 356 | + * As per new DOMDocumentt prototype |
|
| 357 | + * Nothing to return. |
|
| 358 | + */ |
|
| 359 | + public function append(...$nodes) : void { |
|
| 360 | 360 | // $nodes[0] is newnode. |
| 361 | 361 | // $nodes[1] is context. |
| 362 | 362 | $this->createContext($nodes[0], 'xml'); |