-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validator cannot be instantiated #170
Comments
phone-number-bundle/src/Validator/Constraints/PhoneNumber.php Lines 56 to 71 in 67ee847
Previously, on 3.10.0 version, the constructor accepted an array as format. On my project the constructor receives an array, so if I change the |
Hi @KatzoArano ! Yes, since #162 because it was legacy code linked to the annotation which is now better managed as an attribute. |
3.10.1 has been remove and I created the new one : https://github.com/odolbeau/phone-number-bundle/releases/tag/v4.0.0 |
Zorte on 😉 |
OK, thanks for your feedback , |
Hi,
On a Sylius project (with Symfony 5.4) I get an issue during my project launch :
Misd\PhoneNumberBundle\Validator\Constraints\PhoneNumber::__construct(): Argument #1 ($format) must be of type ?int, array given
The text was updated successfully, but these errors were encountered: