Skip to content

Commit d0e01b6

Browse files
committed
[#12857] Fix options order and added versionadded directive
1 parent bb8f44f commit d0e01b6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

reference/constraints/Country.rst

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Validates that a value is a valid `ISO 3166-1 alpha-2`_ country code.
55

66
========== ===================================================================
77
Applies to :ref:`property or method <validation-property-target>`
8-
Options - `groups`_
8+
Options - `alpha3`_
9+
- `groups`_
910
- `message`_
10-
- `alpha3`_
1111
- `payload`_
1212
Class :class:`Symfony\\Component\\Validator\\Constraints\\Country`
1313
Validator :class:`Symfony\\Component\\Validator\\Constraints\\CountryValidator`
@@ -82,6 +82,10 @@ Options
8282
alpha3
8383
~~~~~~
8484

85+
.. versionadded:: 5.1
86+
87+
The ``alpha3`` option was introduced in Symfony 5.1.
88+
8589
**type**: ``boolean`` **default**: ``false``
8690

8791
If this option is ``true``, then the constraint will valid the value as

0 commit comments

Comments
 (0)