From c8f69d764b3c18bad1d901b3670c53e40d97cf9f Mon Sep 17 00:00:00 2001 From: Jean pasqualini Date: Thu, 5 Jan 2017 18:35:52 +0100 Subject: [PATCH] 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 --- doc/filters/replace.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/filters/replace.rst b/doc/filters/replace.rst index 1227957b9..8dbb74593 100644 --- a/doc/filters/replace.rst +++ b/doc/filters/replace.rst @@ -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`