We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3ce949 commit db318b5Copy full SHA for db318b5
validation/custom_constraint.rst
@@ -66,7 +66,7 @@ The validator class is also simple, and only has one required method ``validate(
66
public function validate($value, Constraint $constraint)
67
{
68
if (!$constraint instanceof ContainsAlphanumeric) {
69
- throw new UnexpectedTypeException($constraint, ContainsAlphanumeric::class);
+ throw new UnexpectedTypeException($constraint, ContainsAlphanumeric::class);
70
}
71
72
// custom constraints should ignore null and empty values to allow
0 commit comments