Skip to content

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

Merged
ondrejmirtes merged 1 commit intophpstan:1.8.xfrom
herndlm:array-key-first-last-get-old-constant-arrays
Sep 1, 2022
Merged

Use TypeUtils::getOldConstantArrays in array_key_first and array_key_last extensions#1681
ondrejmirtes merged 1 commit intophpstan:1.8.xfrom
herndlm:array-key-first-last-get-old-constant-arrays

Conversation

@herndlm
Copy link
Copy Markdown
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
Copy Markdown
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