Skip to content

Commit 9d04951

Browse files
authored
Fix DOM class-name
1 parent a4fd1b5 commit 9d04951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/XPath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function findElement(DOMNode $ref, string $name): DOMElement|false
5050
{
5151
$doc = $ref instanceof DOMDocument ? $ref : $ref->ownerDocument;
5252
if ($doc === null) {
53-
throw new RuntimeException('Cannot search, no DOM document available');
53+
throw new RuntimeException('Cannot search, no DOMDocument available');
5454
}
5555

5656
$nodeset = self::getXPath($doc)->query('./' . $name, $ref);

0 commit comments

Comments
 (0)