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

Argument #2 ($max) must be of type ?int, float given #6466

Closed
dongm2ez opened this issue Jan 27, 2022 · 2 comments
Closed

Argument #2 ($max) must be of type ?int, float given #6466

dongm2ez opened this issue Jan 27, 2022 · 2 comments

Comments

@dongm2ez
Copy link

Bug report

Code snippet that reproduces the problem

https://phpstan.org/r/d0c5f259-af8c-4b0e-b3dd-7c9b510045bf

Expected output

Don't have this error

@dongm2ez dongm2ez changed the title rgument #2 ($max) must be of type ?int, float given Argument #2 ($max) must be of type ?int, float given Jan 27, 2022
@ondrejmirtes
Copy link
Member

Fixed: phpstan/phpstan-src@f1734dc

@github-actions
Copy link

github-actions bot commented Mar 1, 2022

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 Mar 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants