lint/types/add-var-phpdoc-from-getter
In the types set. Unsafe fix: it can change behaviour.
What it does
Add @var array property docblock from its getter @return
Configuration
[lint.rules]
"types/add-var-phpdoc-from-getter" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
DocblockVarArrayFromGetterReturn(rector)