Skip to content

Commit c9d3b8a

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

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)