mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 02:46:29 +00:00
Remove the note about types mapping argument
This commit is contained in:
@@ -15,9 +15,6 @@ The ``types`` tag declares the types of template variables.
|
|||||||
included from multiple different places, each potentially having different
|
included from multiple different places, each potentially having different
|
||||||
variable types.
|
variable types.
|
||||||
|
|
||||||
To do this, specify a :ref:`mapping <twig-expressions>` of names to their types
|
|
||||||
as strings.
|
|
||||||
|
|
||||||
Here is how to declare that ``is_correct`` is a boolean, while ``score`` is a
|
Here is how to declare that ``is_correct`` is a boolean, while ``score`` is a
|
||||||
number (see note below):
|
number (see note below):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user