Skip to content

Commit ed0920e

Browse files
julien-cweaverryan
authored andcommitted
each() iterates over items as Crawlers
1 parent 57c5719 commit ed0920e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dom_crawler.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Call an anonymous function on each node of the list::
141141
return $node->text();
142142
});
143143

144-
The anonymous function receives the position and the node as arguments.
144+
The anonymous function receives the position and the node (as a Crawler) as arguments.
145145
The result is an array of values returned by the anonymous function calls.
146146

147147
Adding the Content

0 commit comments

Comments
 (0)