Fix the argument name of filter replace

The argument name in the code is $from

See https://github.com/jean-pasqualini/Twig/blob/1.x/lib/Twig/Extension/Core.php#L475.

Issue : https://github.com/twigphp/Twig/issues/2329
This commit is contained in:
Jean pasqualini
2017-01-05 18:35:52 +01:00
committed by GitHub
parent cfd709b16e
commit c8f69d764b
+1 -1
View File
@@ -14,6 +14,6 @@ The ``replace`` filter formats a given string by replacing the placeholders
Arguments
---------
* ``replace_pairs``: The placeholder values
* ``from``: The placeholder values
.. seealso:: :doc:`format<format>`