diff --git a/book/validation.rst b/book/validation.rst index 70d21eec5be..b365a84b057 100644 --- a/book/validation.rst +++ b/book/validation.rst @@ -1236,7 +1236,7 @@ By calling ``validateValue`` on the validator, you can pass in a raw value and the constraint object that you want to validate that value against. A full list of the available constraints - as well as the full class name for each constraint - is available in the :doc:`constraints reference ` -section . +section. The ``validateValue`` method returns a :class:`Symfony\\Component\\Validator\\ConstraintViolationList` object, which acts just like an array of errors. Each error in the collection