Skip to content

Commit 8bba58a

Browse files
committed
Fixed the "applies to" of the Callback constraint
1 parent e559074 commit 8bba58a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

reference/constraints/Callback.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ can do anything, including creating and assigning validation errors.
1717
as you'll see in the example, a callback method has the ability to directly
1818
add validator "violations".
1919

20-
+----------------+------------------------------------------------------------------------+
21-
| Applies to | :ref:`class <validation-class-target>` |
22-
+----------------+------------------------------------------------------------------------+
23-
| Options | - :ref:`callback <callback-option>` |
24-
| | - `groups`_ |
25-
| | - `payload`_ |
26-
+----------------+------------------------------------------------------------------------+
27-
| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Callback` |
28-
+----------------+------------------------------------------------------------------------+
29-
| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\CallbackValidator` |
30-
+----------------+------------------------------------------------------------------------+
20+
+----------------+-----------------------------------------------------------------------------------------------+
21+
| Applies to | :ref:`class <validation-class-target>` or :ref:`property/method <validation-property-target>` |
22+
+----------------+-----------------------------------------------------------------------------------------------+
23+
| Options | - :ref:`callback <callback-option>` |
24+
| | - `groups`_ |
25+
| | - `payload`_ |
26+
+----------------+-----------------------------------------------------------------------------------------------+
27+
| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Callback` |
28+
+----------------+-----------------------------------------------------------------------------------------------+
29+
| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\CallbackValidator` |
30+
+----------------+-----------------------------------------------------------------------------------------------+
3131

3232
Configuration
3333
-------------

0 commit comments

Comments
 (0)