Support for WordPress's array/object type annotations has been released in v1.42.14618
There are a few known issues:
- if the comment is not well formatted or the closing
}
is missing, we don't treat the comment as WordPress structured array, and some false warnings may occur.
- if there are a lot of
@type
tags (>60), it may cause the type analysis to treat everything as mixed
(the control flow engine has some limitations)