Skip to content

Commit 691c8a3

Browse files
committed
Raise coverage
1 parent 40176e2 commit 691c8a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LocalizedStringElementTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static function fromXML(DOMElement $xml): static
9393
final public function toXML(DOMElement $parent = null): DOMElement
9494
{
9595
$e = $this->instantiateParentElement($parent);
96-
$e->setAttributeNS(C::NS_XML, 'xml:lang', $this->language);
96+
$e->setAttributeNS(C::NS_XML, 'xml:lang', $this->getLanguage());
9797
$e->textContent = $this->getContent();
9898

9999
return $e;

0 commit comments

Comments
 (0)