Skip to content

Commit 62f6f77

Browse files
committed
Merge branch '2.4' into 2.5
* 2.4: [Validator] Remove property and method targets from the optional and required constraints. [DomCrawler] Fixed charset detection in html5 meta charset tag
2 parents e4555ef + c9d3b8a commit 62f6f77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Constraints/Optional.php

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

1414
/**
1515
* @Annotation
16-
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
16+
* @Target({"ANNOTATION"})
1717
*
1818
* @author Bernhard Schussek <[email protected]>
1919
*/

Constraints/Required.php

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

1414
/**
1515
* @Annotation
16-
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
16+
* @Target({"ANNOTATION"})
1717
*
1818
* @author Bernhard Schussek <[email protected]>
1919
*/

0 commit comments

Comments
 (0)