Browse Source

Oops

master
Dustin Wilson 2 years ago
parent
commit
1bcecf3dfc
  1. 2
      lib/XPathResult.php

2
lib/XPathResult.php

@ -60,7 +60,7 @@ class XPathResult implements \ArrayAccess, \Countable, \Iterator {
}
$node = $this->storage[0];
return ($node !== null) ? $node->ownerDocument->getWrapperNode($node) : node;
return ($node !== null) ? $node->ownerDocument->getWrapperNode($node) : null;
}
protected function __get_snapshotLength(): int {

Loading…
Cancel
Save