Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc22075

Browse files
authored
Use integer typehint instead int
1 parent 2c0cad0 commit fc22075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/configuration/twig.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ every ``number_format`` filter call.
269269
decimals
270270
........
271271

272-
**type**: ``int`` **default**: ``0``
272+
**type**: ``integer`` **default**: ``0``
273273

274274
The number of decimals used to format numeric values when no specific number is
275275
passed as argument to the ``number_format`` filter.
@@ -294,7 +294,7 @@ no specific character is passed as argument to the ``number_format`` filter.
294294
optimizations
295295
~~~~~~~~~~~~~
296296

297-
**type**: ``int`` **default**: ``-1``
297+
**type**: ``integer`` **default**: ``-1``
298298

299299
Twig includes an extension called ``optimizer`` which is enabled by default in
300300
Symfony applications. This extension analyzes the templates to optimize them

0 commit comments

Comments
 (0)