diff --git a/reference/configuration/twig.rst b/reference/configuration/twig.rst index 97785b2c0bd..b540752bb25 100644 --- a/reference/configuration/twig.rst +++ b/reference/configuration/twig.rst @@ -439,7 +439,7 @@ by Symfony. Besides, it simplifies how you refer to those templates: strict_variables ~~~~~~~~~~~~~~~~ -**type**: ``boolean`` **default**: ``'%kernel.debug%'`` +**type**: ``boolean`` **default**: ``false`` If set to ``true``, Symfony shows an exception whenever a Twig variable, attribute or method doesn't exist. If set to ``false`` these errors are ignored