diff --git a/CHANGELOG.md b/CHANGELOG.md index bfe9d755..74fb2087 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Name of the catalan translation file is now accurate #116 +- Remove deprecation notice when using annotations ## [3.6.3] - 2022-06-14 diff --git a/src/Validator/Constraints/PhoneNumber.php b/src/Validator/Constraints/PhoneNumber.php index 45938253..08888fa5 100644 --- a/src/Validator/Constraints/PhoneNumber.php +++ b/src/Validator/Constraints/PhoneNumber.php @@ -18,6 +18,7 @@ * Phone number constraint. * * @Annotation + * @NamedArgumentConstructor */ #[\Attribute(\Attribute::TARGET_PROPERTY)] class PhoneNumber extends Constraint