diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index 8ccd3660689..63efa9f8223 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 every second node + // filter every other node return ($i % 2) == 0; });