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

Non empty array returned from array_fill #5284

Closed
ntzm opened this issue Jul 11, 2021 · 2 comments · Fixed by phpstan/phpstan-src#603
Closed

Non empty array returned from array_fill #5284

ntzm opened this issue Jul 11, 2021 · 2 comments · Fixed by phpstan/phpstan-src#603

Comments

@ntzm
Copy link
Contributor

ntzm commented Jul 11, 2021

Feature request

https://phpstan.org/r/983b711e-5e81-45c0-b541-7b3f23e170f3

When the second argument of array_fill is positive-int, the result should be nonEmpty

@ondrejmirtes
Copy link
Member

Hi, I'm sure you can contribute such a change, thanks in advance :)

@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 Sep 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants