Skip to content

Commit 9436d63

Browse files
committed
Tweaks
1 parent cbc9f85 commit 9436d63

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

reference/forms/types/integer.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Field Options
5757

5858
**type**: ``integer`` **default**: ``\NumberFormatter::ROUND_HALFUP``
5959

60-
By default, if the users enters a non-integer number, it will be rounded
60+
By default, if the user enters a non-integer number, it will be rounded
6161
down. You have several configurable options for that rounding. Each option
6262
is a constant on the :phpclass:`NumberFormatter` class:
6363

@@ -88,10 +88,9 @@ is a constant on the :phpclass:`NumberFormatter` class:
8888
.. deprecated:: 5.1
8989

9090
In Symfony versions prior to 5.1, these constants were also defined as aliases
91-
in the :class:`Symfony\\Component\\Form\\Extension\\Core\\DataTransformer\\IntegerToLocalizedStringTransformer`
91+
in the :class:`Symfony\\Component\\Form\\Extension\\Core\\DataTransformer\\NumberToLocalizedStringTransformer`
9292
class, but they are now deprecated in favor of the :phpclass:`NumberFormatter` constants.
9393

94-
9594
Overridden Options
9695
------------------
9796

0 commit comments

Comments
 (0)