File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55namespace SimpleSAML \SAML2 \XML \md ;
66
7+ use DOMDocument ;
78use DOMElement ;
89use Exception ;
910use SimpleSAML \Assert \Assert ;
1011use SimpleSAML \SAML2 \Exception \ProtocolViolationException ;
1112use SimpleSAML \SAML2 \Utils \XPath ;
1213use SimpleSAML \SAML2 \XML \ExtendableElementTrait ;
13- use SimpleSAML \XML \DOMDocumentFactory ;
1414use SimpleSAML \XML \Exception \InvalidDOMElementException ;
1515use SimpleSAML \XML \Exception \TooManyElementsException ;
1616use SimpleSAML \XML \ExtendableAttributesTrait ;
@@ -266,7 +266,7 @@ public static function fromArray(array $data): static
266266 $ name = array_key_first ($ attribute );
267267 $ value = $ attribute [$ name ];
268268
269- $ doc = DOMDocumentFactory:: create ();
269+ $ doc = new DOMDocument ();
270270 $ elt = $ doc ->createElement ("placeholder " );
271271 $ elt ->setAttributeNS ($ ns , $ name , $ value );
272272
You can’t perform that action at this time.
0 commit comments