Skip to content

Use TypeUtils::getOldConstantArrays in array_key_first and array_key_last extensions #1681

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

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented Sep 1, 2022

Here we go again :) This also fixes the same optional key edge cases as #1668 did

@herndlm herndlm marked this pull request as ready for review September 1, 2022 10:17
@ondrejmirtes ondrejmirtes merged commit 4314243 into phpstan:1.8.x Sep 1, 2022
@ondrejmirtes
Copy link
Member

Thank you!

@herndlm herndlm deleted the array-key-first-last-get-old-constant-arrays branch September 1, 2022 11:22
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