Commit Graph

12 Commits

Author SHA1 Message Date
AndCycle bb6382c1bb Update reduce.rst
remove note, better argument for example
reduce doesn't use array_reduce anymore
https://github.com/twigphp/Twig/issues/3802
2025-05-12 16:54:49 +08:00
Louis-Arnaud dd24d5bfd2 add docs & links 2023-12-14 08:17:06 +01:00
ju1ius 4f2f3f814e pass the current key to reduce filter's callback 2023-01-25 10:42:37 +01:00
Fabien Potencier b50062d269 Merge branch '2.x' into 3.x
* 2.x:
  Fix issue #3159
  Fix issue #3160
2019-10-01 12:18:56 +02:00
Fabien Potencier f8c5f86761 Merge branch '1.x' into 2.x
* 1.x:
  Fix issue #3159
  Fix issue #3160
2019-10-01 12:18:48 +02:00
Eric MORAND 4eb40f2fc8 Fix issue #3160 2019-10-01 12:13:28 +02:00
Fabien Potencier 5b1f41b855 Merge branch '2.x' into 3.x
* 2.x:
  fixed markup in docs
  fixed markup in docs
  fixed typo
  fixed CS
  fixed typo
2019-08-10 16:16:55 +02:00
Fabien Potencier 1e7ca11c0f fixed markup in docs 2019-08-10 16:14:01 +02:00
Alex bf518d2cca Update the documentation for newly added features 2019-06-03 15:28:27 +02:00
Fabien Potencier c7df3a20b9 removed obsolete code 2019-05-22 16:03:56 +02:00
Fabien Potencier 175041e01b removed fn in front of arrow functions 2019-05-03 18:12:19 +02:00
Fabien Potencier b30bce1139 added "filter", "map", and "reduce" filters 2019-05-03 17:09:12 +02:00