Permalink
Browse files

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
  • Loading branch information...
weaverryan committed Oct 29, 2014
2 parents aeeb3c8 + 5f8b13c commit dde6919223413344718ddd52594a38cd007eb005
Showing with 0 additions and 1 deletion.
  1. +0 −1 cookbook/validation/custom_constraint.rst
@@ -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
/*

0 comments on commit dde6919

Please sign in to comment.