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 9a6dc4c commit ef0d51bCopy full SHA for ef0d51b
Crawler.php
@@ -898,7 +898,7 @@ public static function xpathLiteral(string $s)
898
*
899
* @return static
900
*/
901
- private function filterRelativeXPath(string $xpath)
+ private function filterRelativeXPath(string $xpath): object
902
{
903
$prefixes = $this->findNamespacePrefixes($xpath);
904
@@ -1140,7 +1140,7 @@ private function findNamespacePrefixes(string $xpath): array
1140
1141
1142
1143
- private function createSubCrawler($nodes)
+ private function createSubCrawler($nodes): object
1144
1145
$crawler = new static($nodes, $this->uri, $this->baseHref);
1146
$crawler->isHtml = $this->isHtml;
0 commit comments