Skip to content

Conversation

@herndlm
Copy link
Contributor

@herndlm herndlm commented May 28, 2022

Closes phpstan/phpstan#7277

Finally, after all the recent ConstantArray adaptions regarding optional props, this is now really simple and working as expected :)

Copy link
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise great - this is how it should be done. Make the change easy & make the easy change!

@herndlm herndlm requested a review from ondrejmirtes May 28, 2022 18:12
@herndlm herndlm marked this pull request as draft May 29, 2022 06:25
@herndlm herndlm marked this pull request as ready for review May 29, 2022 11:19
@ondrejmirtes ondrejmirtes merged commit eac5b1c into phpstan:1.7.x May 29, 2022
@ondrejmirtes
Copy link
Member

Nice, thank you :)

@herndlm herndlm deleted the array-chunk branch May 29, 2022 11:23
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.

array_chunk return type should take into account the $preserve_keys argument

2 participants