Skip to content

Commit dde6919

Browse files
committed
bug #4390 Update custom_constraint.rst (luciantugui)
This PR was merged into the 2.5 branch. Discussion ---------- Update custom_constraint.rst Commits ------- 5f8b13c Update custom_constraint.rst
2 parents aeeb3c8 + 5f8b13c commit dde6919

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)