Skip to content

Commit 67be447

Browse files
committed
[Validator] added missing ANNOTATION config to @target annotation
1 parent ed53afe commit 67be447

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Constraint for the Unique Entity validator
1818
*
1919
* @Annotation
20-
* @Target("CLASS")
20+
* @Target({"CLASS", "ANNOTATION"})
2121
*
2222
* @author Benjamin Eberlei <[email protected]>
2323
*/

src/Symfony/Component/Validator/Constraints/Callback.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
/**
1717
* @Annotation
18-
* @Target("CLASS")
18+
* @Target({"CLASS", "ANNOTATION"})
1919
*
2020
* @author Bernhard Schussek <[email protected]>
2121
*

src/Symfony/Component/Validator/Constraints/GroupSequence.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Annotation for group sequences
1616
*
1717
* @Annotation
18-
* @Target("CLASS")
18+
* @Target({"CLASS", "ANNOTATION"})
1919
*
2020
* @author Bernhard Schussek <[email protected]>
2121
*

src/Symfony/Component/Validator/Constraints/GroupSequenceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Annotation to define a group sequence provider
1616
*
1717
* @Annotation
18-
* @Target("CLASS")
18+
* @Target({"CLASS", "ANNOTATION"})
1919
*/
2020
class GroupSequenceProvider
2121
{

0 commit comments

Comments
 (0)