Skip to content

Commit cc5d2a1

Browse files
1 parent 7b081aa commit cc5d2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dom_crawler.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ The result is an array of values returned by the anonymous function calls.
277277
When using nested crawler, beware that ``filterXPath()`` is evaluated in the
278278
context of the crawler::
279279

280-
$crawler->filterXPath('parent')->each(function (Crawler $parentCrawler, $i): avoid {
280+
$crawler->filterXPath('parent')->each(function (Crawler $parentCrawler, $i): void {
281281
// DON'T DO THIS: direct child can not be found
282282
$subCrawler = $parentCrawler->filterXPath('sub-tag/sub-child-tag');
283283

0 commit comments

Comments
 (0)