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 3137148 commit 29e5826Copy full SHA for 29e5826
Crawler.php
@@ -662,7 +662,7 @@ public function outerHtml(): string
662
* Since an XPath expression might evaluate to either a simple type or a \DOMNodeList,
663
* this method will return either an array of simple types or a new Crawler instance.
664
*/
665
- public function evaluate(string $xpath): array|Crawler
+ public function evaluate(string $xpath): array|self
666
{
667
if (null === $this->document) {
668
throw new \LogicException('Cannot evaluate the expression on an uninitialized crawler.');
0 commit comments