Skip to content

Commit de04b16

Browse files
committed
Minor tweak
1 parent aad154b commit de04b16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configuration/env_var_processors.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ Symfony provides the following env var processors:
9696
]);
9797
9898
``env(bool:FOO)``
99-
Casts ``FOO`` to a bool (true values are `'true'`, `'on'`, `'yes'` and all numers unequal to `0`, everything else is false):
99+
Casts ``FOO`` to a bool (``true`` values are ``'true'``, ``'on'``, ``'yes'``
100+
and all numbers except ``0`` and ``0.0``; everything else is ``false``):
100101

101102
.. configuration-block::
102103

0 commit comments

Comments
 (0)