mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 19:36:43 +00:00
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:
@@ -14,6 +14,6 @@ The ``replace`` filter formats a given string by replacing the placeholders
|
|||||||
Arguments
|
Arguments
|
||||||
---------
|
---------
|
||||||
|
|
||||||
* ``replace_pairs``: The placeholder values
|
* ``from``: The placeholder values
|
||||||
|
|
||||||
.. seealso:: :doc:`format<format>`
|
.. seealso:: :doc:`format<format>`
|
||||||
|
|||||||
Reference in New Issue
Block a user