diff --git a/CHANGELOG.md b/CHANGELOG.md index e4a57b42..e7650c6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [2.1.5] - 2019-09-27 +### Changed +- Allow to use the validator inside another annotation + ## [2.1.4] - 2019-03-29 ### Changed - Fix deprecation trigger of Sf 4.2 diff --git a/src/Knp/DictionaryBundle/Validator/Constraints/Dictionary.php b/src/Knp/DictionaryBundle/Validator/Constraints/Dictionary.php index 0b2d5a06..5c48e696 100644 --- a/src/Knp/DictionaryBundle/Validator/Constraints/Dictionary.php +++ b/src/Knp/DictionaryBundle/Validator/Constraints/Dictionary.php @@ -6,7 +6,7 @@ /** * @Annotation - * @Target({"PROPERTY", "METHOD"}) + * @Target({"PROPERTY", "METHOD", "ANNOTATION"}) */ class Dictionary extends Constraint {