Skip to content

Commit 2cb0c9e

Browse files
committed
[Validator] Change Range and Legth description formatting
1 parent 8bfa680 commit 2cb0c9e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

reference/constraints/Length.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Validator :class:`Symfony\\Component\\Validator\\Constraints\\LengthValidator`
2323
Basic Usage
2424
-----------
2525

26-
To verify that the ``firstName`` field length of a class is between "2"
27-
and "50", you might add the following:
26+
To verify that the ``firstName`` field length of a class is between ``2``
27+
and ``50``, you might add the following:
2828

2929
.. configuration-block::
3030

reference/constraints/Range.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Validator :class:`Symfony\\Component\\Validator\\Constraints\\RangeValidator`
2222
Basic Usage
2323
-----------
2424

25-
To verify that the "height" field of a class is between "120" and "180",
25+
To verify that the ``height`` field of a class is between ``120`` and ``180``,
2626
you might add the following:
2727

2828
.. configuration-block::

0 commit comments

Comments
 (0)