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 7b081aa commit cc5d2a1Copy full SHA for cc5d2a1
components/dom_crawler.rst
@@ -277,7 +277,7 @@ The result is an array of values returned by the anonymous function calls.
277
When using nested crawler, beware that ``filterXPath()`` is evaluated in the
278
context of the crawler::
279
280
- $crawler->filterXPath('parent')->each(function (Crawler $parentCrawler, $i): avoid {
+ $crawler->filterXPath('parent')->each(function (Crawler $parentCrawler, $i): void {
281
// DON'T DO THIS: direct child can not be found
282
$subCrawler = $parentCrawler->filterXPath('sub-tag/sub-child-tag');
283
0 commit comments