Skip to content

Conversation

@zonuexe
Copy link
Contributor

@zonuexe zonuexe commented Jan 29, 2023

strict-array and strict-list were canceled, but list shapes was introduced in Psalm 5.
It looks like you can merge some of the #161 patch by @danog.

refs phpstan/phpstan#8789

int,
string
}',
new ArrayShapeNode([
Copy link
Member

Choose a reason for hiding this comment

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

Would be nice to know the array shape "kind" (array or list) at the ArrayShapeNode class.

@ondrejmirtes ondrejmirtes merged commit 57090cf into phpstan:1.9.x Jan 29, 2023
@ondrejmirtes
Copy link
Member

Thank you.

@zonuexe zonuexe deleted the feature/list-shapes branch January 29, 2023 14:41
@zonuexe zonuexe mentioned this pull request Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants