Skip to content

Fix bug 8280#1958

Merged
ondrejmirtes merged 2 commits intophpstan:1.9.xfrom
rajyan:fix-bug-8280
Nov 3, 2022
Merged

Fix bug 8280#1958
ondrejmirtes merged 2 commits intophpstan:1.9.xfrom
rajyan:fix-bug-8280

Conversation

@rajyan
Copy link
Copy Markdown
Contributor

@rajyan rajyan commented Nov 3, 2022

fixes phpstan/phpstan#8280

There are other situations that constant arrays are not correctly marked as list, I would fix them with a following PR

@ondrejmirtes ondrejmirtes merged commit 8b456c5 into phpstan:1.9.x Nov 3, 2022
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

@rajyan rajyan deleted the fix-bug-8280 branch November 3, 2022 21:43
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.

[1.9.0] casting a list<string>|string using (array) should produce list<string>, not array<string>

2 participants