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

[FP] Property string is always numeric #2710

Closed
adaamz opened this issue Dec 10, 2019 · 2 comments
Closed

[FP] Property string is always numeric #2710

adaamz opened this issue Dec 10, 2019 · 2 comments
Labels
Milestone

Comments

@adaamz
Copy link
Contributor

adaamz commented Dec 10, 2019

Bug report

phpstan thinks property of type string is always numeric, which is not true.

Code snippet that reproduces the problem

https://phpstan.org/r/21a1f430-aaac-4a9b-93b6-304b9aa4d2ab

Expected output

No error.

@ondrejmirtes ondrejmirtes added this to the Easy fixes milestone Dec 30, 2019
@ondrejmirtes
Copy link
Member

ondrejmirtes commented Aug 25, 2020

Fixed by phpstan/phpstan-src@7f04f75

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants