[Validator] fixed @Target config

This commit is contained in:
Fabien Potencier 2014-04-23 16:05:18 +02:00
parent 2a947953d5
commit 99ca3f384e

View File

@ -15,7 +15,7 @@ use Symfony\Component\Validator\Constraint;
/**
* @Annotation
* @Target("CLASS")
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*