Skip to content

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).

@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.

2 participants