diff --git a/validation/custom_constraint.rst b/validation/custom_constraint.rst index c935eb538b7..cd5197c860e 100644 --- a/validation/custom_constraint.rst +++ b/validation/custom_constraint.rst @@ -328,7 +328,7 @@ define those options as public properties on the constraint class:: } Then, inside the validator class you can access these options directly via the -constraint class passes to the ``validate()`` method:: +constraint class passed to the ``validate()`` method:: class FooValidator extends ConstraintValidator {