Skip to content
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

add array type hint to PhoneNumber::__unserialize #637

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

IcarusSosie
Copy link
Contributor

fixes #636

@IcarusSosie
Copy link
Contributor Author

Just ran the tests locally, seems to work fine on php 8.3.7. Should I run them on other versions ?

@IcarusSosie IcarusSosie marked this pull request as ready for review June 19, 2024 08:02
@IcarusSosie IcarusSosie changed the title add array type hint to PhoneNumber->unserialize add array type hint to PhoneNumber::__unserialize Jun 19, 2024
@giggsey
Copy link
Owner

giggsey commented Jun 19, 2024

So apparently this works in PHP 5.3. I had completely forgotten you could use type hints back then.

I'll review closer within a few days, but will likely merge.

Thanks

@IcarusSosie
Copy link
Contributor Author

Oh, just saw your comment on the PR. That's awesome, thanks !

@giggsey giggsey merged commit f662a7e into giggsey:master Jun 20, 2024
14 checks passed
@giggsey
Copy link
Owner

giggsey commented Jun 20, 2024

Thanks for the fix.

The next version will be released once Google release their next version (to maintain version number compatibility). That'll likely be within two weeks.

@IcarusSosie IcarusSosie deleted the fix-unserialize-signature branch June 20, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when testing Symfony code using the PhoneNumber class due to mismatched signature for __unserialize
2 participants