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

Fix string parameter type hinted as integer #612

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Fix string parameter type hinted as integer #612

merged 1 commit into from
Jan 8, 2024

Conversation

Finidi-Schoonhoven
Copy link
Contributor

extractPossibleNumber in PhoneNumberUtil.php wants a string for the $number parameter as also stated in the method's documention (since a string with special charactars like '-' cannot be an integer), but was type hinted as an integer causing PHP stan errors.

extractPossibleNumber in PhoneNumberUtil.php wants a string for the $number parameter as also stated in the method's documention (since a string with special charactars like '-' cannot be an integer), but was type hinted as an integer causing PHP stan errors.
@giggsey giggsey merged commit 3b22d4d into giggsey:master Jan 8, 2024
10 checks passed
@giggsey
Copy link
Owner

giggsey commented Jan 8, 2024

Good spot, thanks!

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.

2 participants