DEVSENSE / phptools-docs

PHP Tools public content
Apache License 2.0
79 stars 10 forks source link

Support unsealed array shape syntax #587

Closed thanhtran468 closed 3 months ago

thanhtran468 commented 3 months ago

More information in: https://github.com/vimeo/psalm/issues/8804#issuecomment-1936625455

jakubmisek commented 3 months ago

Thank you. We support the array doc comment syntax:

image

Is there anything specific that does not work in VS Code?


EDIT: I see - unsealed means there is ... specifying also other keys. I overlooked that. Thanks!

jakubmisek commented 3 months ago

implemented, preparing pre-release

thanhtran468 commented 3 months ago

implemented, preparing pre-release

Thanks!

image

i think this case should be array<float|int|string>?