Skip to content

Commit c3706f9

Browse files
committed
Enhancement: Use table like in other constraints.
1 parent 8b1c6a2 commit c3706f9

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

reference/constraints/Collection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ and that extra keys are not present.
1717
| Options | - `allowExtraFields`_ |
1818
| | - `allowMissingFields`_ |
1919
| | - `extraFieldsMessage`_ |
20-
| | - `fields`_ |
20+
| | - `fields`_ |
2121
| | - `groups`_ |
2222
| | - `missingFieldsMessage`_ |
2323
| | - `payload`_ |

reference/constraints/UserPassword.rst

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,17 @@ password, but needs to enter their old password for security.
1515
In order to use this constraints, you should have installed the
1616
symfony/security-core component with Composer.
1717

18-
========== ===================================================================
19-
Applies to :ref:`property or method <validation-property-target>`
20-
Options - `groups`_
21-
- `message`_
22-
- `payload`_
23-
Class :class:`Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPassword`
24-
Validator :class:`Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPasswordValidator`
25-
========== ===================================================================
18+
+----------------+--------------------------------------------------------------------------------------------+
19+
| Applies to | :ref:`property or method <validation-property-target>` |
20+
+----------------+--------------------------------------------------------------------------------------------+
21+
| Options | - `groups`_ |
22+
| | - `message`_ |
23+
| | - `payload`_ |
24+
+----------------+--------------------------------------------------------------------------------------------+
25+
| Class | :class:`Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPassword` |
26+
+----------------+--------------------------------------------------------------------------------------------+
27+
| Validator | :class:`Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPasswordValidator` |
28+
+----------------+--------------------------------------------------------------------------------------------+
2629

2730
Basic Usage
2831
-----------

0 commit comments

Comments
 (0)