|
@@ -359,7 +359,7 @@ discard block |
|
|
block discarded – undo |
|
359
|
359
|
* The $newnode, properly attached to DOMDocument. If you passed $newnode as a DOMElement |
|
360
|
360
|
* then you should replace your DOMElement with the returned one. |
|
361
|
361
|
*/ |
|
362
|
|
- public function append(...$nodes) : void { |
|
|
362
|
+ public function append(...$nodes) : void { |
|
363
|
363
|
// $nodes[0] is newnode. |
|
364
|
364
|
// $nodes[1] is context. |
|
365
|
365
|
$this->createContext($nodes[0], 'xml'); |
|
@@ -383,7 +383,7 @@ discard block |
|
|
block discarded – undo |
|
383
|
383
|
* The $newnode, properly attached to DOMDocument. If you passed $newnode as a DOMElement |
|
384
|
384
|
* then you should replace your DOMElement with the returned one. |
|
385
|
385
|
*/ |
|
386
|
|
- public function prepend(...$nodes): void { |
|
|
386
|
+ public function prepend(...$nodes): void { |
|
387
|
387
|
// $nodes[0] is newnode. |
|
388
|
388
|
// $nodes[1] is context. |
|
389
|
389
|
$this->createContext($nodes[0], 'xml'); |
Please login to merge, or discard this patch.