/** @var array{ * name:string, * age: int * } $data */ $data[ //-> suggest name, age
This is an wanted feature/fix for me also 😀
genius257 thank you for reminding us :)
we'll put it on our to-do. It shouldn't be that hard!
the upcoming pre-release 1.23.11346 adds the support for single-line array shapes (https://twitter.com/misekjakub/status/1595417821047037953)
1.23.11346
(multi-lined support will be added in the future)
thanks for all your feedback!