diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index d1ae7a66e3f..e2ad3f5e09b 100644 --- a/components/dom_crawler.rst +++ b/components/dom_crawler.rst @@ -157,7 +157,7 @@ Call an anonymous function on each node of the list:: return $node->text(); }); -.. versionadded:: +.. versionadded:: 2.3 As seen here, in Symfony 2.3, the ``each`` and ``reduce`` Closure functions are passed a ``Crawler`` as the first argument. Previously, that argument was a :phpclass:`DOMNode`.