Skip to content

Commit 5f8b13c

Browse files
committed
Update custom_constraint.rst
1 parent 3b303a7 commit 5f8b13c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cookbook/validation/custom_constraint.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ The validator class is also simple, and only has one required method ``validate(
6969
$this->context->buildViolation($constraint->message)
7070
->setParameter('%string%', $value)
7171
->addViolation();
72-
);
7372

7473
// If you're using the old 2.4 validation API
7574
/*

0 commit comments

Comments
 (0)