Skip to content

Commit faa3768

Browse files
committed
Remove unused variable
1 parent d7f59e7 commit faa3768

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/XML/DOMDocumentFactory.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,6 @@ public static function normalizeDocument(DOMDocument $doc): DOMDocument
179179
*/
180180
public static function lookupNamespaceURI(DOMElement $elt, string $prefix): ?string
181181
{
182-
// Get the root element
183-
$root = $elt->ownerDocument->documentElement;
184-
185182
// Collect all xmlns attributes from the document
186183
$xpath = XPath::getXPath($elt->ownerDocument);
187184

0 commit comments

Comments
 (0)