Skip to content

Commit db318b5

Browse files
committed
fix code style
1 parent a3ce949 commit db318b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation/custom_constraint.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The validator class is also simple, and only has one required method ``validate(
6666
public function validate($value, Constraint $constraint)
6767
{
6868
if (!$constraint instanceof ContainsAlphanumeric) {
69-
throw new UnexpectedTypeException($constraint, ContainsAlphanumeric::class);
69+
throw new UnexpectedTypeException($constraint, ContainsAlphanumeric::class);
7070
}
7171
7272
// custom constraints should ignore null and empty values to allow

0 commit comments

Comments
 (0)