Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

Commit 794af71

Browse files
authored
Update Element.php
1 parent 37d80e0 commit 794af71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/Element.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ class Element extends \DOMElement implements XPathAware
3030
public function appendTextNode($name, $value)
3131
{
3232
$el = new self($name);
33-
$el->appendChild($this->owner()->createTextNode($value));
33+
$el->appendChild(
34+
$this->owner()->createTextNode($value)
35+
);
3436

3537
$element = $this->appendChild($el);
3638
assert($element instanceof Element);

0 commit comments

Comments
 (0)