Skip to content

Commit af24efa

Browse files
committed
Use the phpclass directive if possible
1 parent 5c6bdf0 commit af24efa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/forms/types/options/rounding_mode.rst.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ rounding_mode
55

66
If a submitted number needs to be rounded (based on the `scale`_ option), you
77
have several configurable options for that rounding. Each option is a constant
8-
on the ``\NumberFormatter`` class:
8+
on the :phpclass:`NumberFormatter` class:
99

1010
* ``\NumberFormatter::ROUND_DOWN`` Round towards zero. It
1111
rounds ``1.4`` to ``1`` and ``-1.4`` to ``-1``.
@@ -35,4 +35,4 @@ on the ``\NumberFormatter`` class:
3535

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

0 commit comments

Comments
 (0)