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

add generic types for array_values #3456

Merged

Conversation

schlndh
Copy link
Contributor

@schlndh schlndh commented Sep 20, 2024

Fixes: https://phpstan.org/r/0865ef07-67b3-47a7-9747-2b34554c57f3

Phpstorm-stubs don't have a generic type for array_values (and they wouldn't have the conditional return type anyway).

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@ondrejmirtes ondrejmirtes merged commit 06ab320 into phpstan:1.12.x Sep 20, 2024
484 of 500 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@schlndh schlndh deleted the feature-addGenericTypeForArrayValues branch September 20, 2024 14:46
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.

None yet

2 participants