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

Fix type-less variadic argument in anonymous function #332

Merged
merged 1 commit into from Oct 7, 2020

Conversation

jlherren
Copy link
Contributor

@jlherren jlherren commented Oct 6, 2020

Type inferrence was ignoring the variadicity of the argument which wrongly
resulted in type mixed instead of array<int, mixed>.

Fixes phpstan/phpstan#3559

Type inferrence was ignoring the variadicity of the argument which wrongly
resulted in type mixed instead of array<int, mixed>.
@ondrejmirtes ondrejmirtes merged commit 3ede2a4 into phpstan:master Oct 7, 2020
@ondrejmirtes
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants