From 289d3018255cb04f8e69a8ab9790b707e0ab6dd8 Mon Sep 17 00:00:00 2001
From: Philipp Rieber
Date: Sun, 27 Oct 2013 08:25:21 +0100
Subject: [PATCH] [DomCrawler] Add missing "2.3" version number to versionadded
box
---
components/dom_crawler.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst
index b8c3d06c825..940568ff08e 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`.