Skip to content

Commit

Permalink
Raise coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Nov 29, 2024
1 parent 39fb4a6 commit 344fb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LocalizedStringElementTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static function fromXML(DOMElement $xml): static
final public function toXML(DOMElement $parent = null): DOMElement
{
$e = $this->instantiateParentElement($parent);
$e->setAttributeNS(C::NS_XML, 'xml:lang', $this->language);
$e->setAttributeNS(C::NS_XML, 'xml:lang', $this->getLanguage());
$e->textContent = $this->getContent();

return $e;
Expand Down

0 comments on commit 344fb19

Please sign in to comment.