Skip to content

Commit

Permalink
Update custom_constraint.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
luciantugui committed Oct 28, 2014
1 parent 3b303a7 commit 5f8b13c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cookbook/validation/custom_constraint.rst
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 5f8b13c

Please sign in to comment.