diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index 8e356c3e95d..8ccd3660689 100644 --- a/components/dom_crawler.rst +++ b/components/dom_crawler.rst @@ -87,7 +87,7 @@ Anonymous function can be used to filter with more complex criteria:: $crawler = $crawler ->filter('body > p') ->reduce(function (Crawler $node, $i) { - // filter even nodes + // filter every second node return ($i % 2) == 0; });