diff --git a/doc/filters/map.rst b/doc/filters/map.rst index b4849a629..777b05a7c 100644 --- a/doc/filters/map.rst +++ b/doc/filters/map.rst @@ -2,7 +2,7 @@ ======= .. versionadded:: 1.41 - The ``map`` filter was added in Twig 1.41. + The ``map`` filter was added in Twig 1.41 and 2.10. The ``map`` filter applies an arrow function to the elements of a sequence or a mapping. The arrow function receives the value of the sequence or mapping: diff --git a/doc/filters/reduce.rst b/doc/filters/reduce.rst index 10a0d5acb..7d04d6c7b 100644 --- a/doc/filters/reduce.rst +++ b/doc/filters/reduce.rst @@ -2,7 +2,7 @@ ========= .. versionadded:: 1.41 - The ``reduce`` filter was added in Twig 1.41. + The ``reduce`` filter was added in Twig 1.41 and 2.10. The ``reduce`` filter iteratively reduces a sequence or a mapping to a single value using an arrow function, so as to reduce it to a single value. The arrow