From 8bba58a33d8364839b0070a6bdddc8d3d6389305 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 8 Mar 2019 10:04:46 +0100 Subject: [PATCH] Fixed the "applies to" of the Callback constraint --- reference/constraints/Callback.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/reference/constraints/Callback.rst b/reference/constraints/Callback.rst index b814e3deeef..cc69ba3c8a2 100644 --- a/reference/constraints/Callback.rst +++ b/reference/constraints/Callback.rst @@ -17,17 +17,17 @@ can do anything, including creating and assigning validation errors. as you'll see in the example, a callback method has the ability to directly add validator "violations". -+----------------+------------------------------------------------------------------------+ -| Applies to | :ref:`class ` | -+----------------+------------------------------------------------------------------------+ -| Options | - :ref:`callback ` | -| | - `groups`_ | -| | - `payload`_ | -+----------------+------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Callback` | -+----------------+------------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\CallbackValidator` | -+----------------+------------------------------------------------------------------------+ ++----------------+-----------------------------------------------------------------------------------------------+ +| Applies to | :ref:`class ` or :ref:`property/method ` | ++----------------+-----------------------------------------------------------------------------------------------+ +| Options | - :ref:`callback ` | +| | - `groups`_ | +| | - `payload`_ | ++----------------+-----------------------------------------------------------------------------------------------+ +| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Callback` | ++----------------+-----------------------------------------------------------------------------------------------+ +| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\CallbackValidator` | ++----------------+-----------------------------------------------------------------------------------------------+ Configuration -------------