Skip to content

Commit

Permalink
bug #4390 Update custom_constraint.rst (luciantugui)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.5 branch.

Discussion
----------

Update custom_constraint.rst

Commits
-------

5f8b13c Update custom_constraint.rst
  • Loading branch information
weaverryan committed Oct 29, 2014
2 parents aeeb3c8 + 5f8b13c commit dde6919
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cookbook/validation/custom_constraint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ The validator class is also simple, and only has one required method ``validate(
$this->context->buildViolation($constraint->message)
->setParameter('%string%', $value)
->addViolation();
);

// If you're using the old 2.4 validation API
/*
Expand Down

0 comments on commit dde6919

Please sign in to comment.