From 4d84a697cae7e1d8eb2ae105a79508c01ecfadf4 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Tue, 18 Jun 2019 10:58:02 +0200 Subject: [PATCH] kernel.debug is a boolean, not a string --- reference/configuration/twig.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/configuration/twig.rst b/reference/configuration/twig.rst index d37ee5f10ce..84f4595f24a 100644 --- a/reference/configuration/twig.rst +++ b/reference/configuration/twig.rst @@ -55,7 +55,7 @@ Configuration auto_reload ~~~~~~~~~~~ -**type**: ``boolean`` **default**: ``'%kernel.debug%'`` +**type**: ``boolean`` **default**: ``%kernel.debug%`` If ``true``, whenever a template is rendered, Symfony checks first if its source code has changed since it was compiled. If it has changed, the template is @@ -174,7 +174,7 @@ specific timezone is passed as argument. debug ~~~~~ -**type**: ``boolean`` **default**: ``'%kernel.debug%'`` +**type**: ``boolean`` **default**: ``%kernel.debug%`` If ``true``, the compiled templates include a ``__toString()`` method that can be used to display their nodes.