Skip to content

Infer constant array type from specifying count() on a list type#1817

Merged
ondrejmirtes merged 1 commit intophpstan:1.9.xfrom
rvanvelzen:list-count
Oct 11, 2022
Merged

Infer constant array type from specifying count() on a list type#1817
ondrejmirtes merged 1 commit intophpstan:1.9.xfrom
rvanvelzen:list-count

Conversation

@rvanvelzen
Copy link
Copy Markdown
Contributor

@rvanvelzen rvanvelzen marked this pull request as ready for review October 11, 2022 12:56
@ondrejmirtes
Copy link
Copy Markdown
Member

I'm drooling over here :) Thank you very much.

@ondrejmirtes ondrejmirtes merged commit 26f1cfe into phpstan:1.9.x Oct 11, 2022
@herndlm
Copy link
Copy Markdown
Contributor

herndlm commented Oct 11, 2022

a bit of drooling here too :D

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.

Result of explode() doesn't satisfy array{string,string,string} when size of array is known

3 participants