From dadadbb499557daeb271959e52723db48a6b714a Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 12 May 2017 17:16:07 +0200 Subject: [PATCH 1/2] add missing comma --- reference/twig_reference.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/twig_reference.rst b/reference/twig_reference.rst index 0ccbd640ea9..4aa36e0cd0d 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -736,7 +736,7 @@ The available attributes are: * ``app.session``, a :class:``Symfony\\Component\\HttpFoundation\\Session\\Session`` object; * ``app.environment``, a string with the name of the execution environment; * ``app.debug``, a boolean telling whether the debug mode is enabled in the app; -* ``app.token`` (a :class:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface` +* ``app.token``, (a :class:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface` object representing the security token) .. _`Twig Reference`: http://twig.sensiolabs.org/documentation#reference From 00993a3b257038d32f9320751494072434ffcd1c Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sun, 14 May 2017 21:20:27 +0200 Subject: [PATCH 2/2] Removed unneeded parenthesis --- reference/twig_reference.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/twig_reference.rst b/reference/twig_reference.rst index 4aa36e0cd0d..a8c25096e7d 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -736,8 +736,8 @@ The available attributes are: * ``app.session``, a :class:``Symfony\\Component\\HttpFoundation\\Session\\Session`` object; * ``app.environment``, a string with the name of the execution environment; * ``app.debug``, a boolean telling whether the debug mode is enabled in the app; -* ``app.token``, (a :class:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface` - object representing the security token) +* ``app.token``, a :class:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface` + object representing the security token. .. _`Twig Reference`: http://twig.sensiolabs.org/documentation#reference .. _`Twig Extensions repository`: https://github.com/twigphp/Twig-extensions