We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4fd1b5 commit 9d04951Copy full SHA for 9d04951
src/Utils/XPath.php
@@ -50,7 +50,7 @@ public static function findElement(DOMNode $ref, string $name): DOMElement|false
50
{
51
$doc = $ref instanceof DOMDocument ? $ref : $ref->ownerDocument;
52
if ($doc === null) {
53
- throw new RuntimeException('Cannot search, no DOM document available');
+ throw new RuntimeException('Cannot search, no DOMDocument available');
54
}
55
56
$nodeset = self::getXPath($doc)->query('./' . $name, $ref);
0 commit comments