Update the documentation for newly added features

This commit is contained in:
Alex
2019-06-03 16:15:04 +03:00
committed by Fabien Potencier
parent 51f33f75f9
commit bf518d2cca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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