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 9349424 commit 8d45f60Copy full SHA for 8d45f60
1 file changed
src/Utils/XPath.php
@@ -42,7 +42,7 @@ public static function getXPath(DOMNode $doc): DOMXPath
42
*
43
* @throws RuntimeException If no DOM document is available.
44
*/
45
- public static function findElement(DOMNode $ref, string $name): DOMDocument
+ public static function findElement(DOMNode $ref, string $name)
46
{
47
$doc = $ref instanceof DOMDocument ? $ref : $ref->ownerDocument;
48
if ($doc === null) {
0 commit comments