Skip to content

Commit

Permalink
Optimize test-class
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jan 24, 2024
1 parent 4f1257d commit 8190977
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/Utils/ExtendableAttributesElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,7 @@ public function toXML(DOMElement $parent = null): DOMElement
$e = $this->instantiateParentElement($parent);

foreach ($this->getAttributesNS() as $attr) {
$e->setAttributeNS(
$attr->getNamespaceURI(),
$attr->getNamespacePrefix() . ':' . $attr->getAttrName(),
$attr->getAttrValue(),
);
$attr->toXML($e);
}

return $e;
Expand Down

0 comments on commit 8190977

Please sign in to comment.