lint/types/add-var-phpdoc-from-dim-fetch
In the types set. Unsafe fix: it can change behaviour.
What it does
Add @var array property docblock from dim fetches on property fetch assignment
Configuration
[lint.rules]
"types/add-var-phpdoc-from-dim-fetch" = "error"
To skip it in some files or lines, add an override or an ignore comment.