lint/types/add-param-phpdoc-from-dim-fetch
In the lint-strict preset. In Rector’s rector/type-declaration-docblocks set. Unsafe fix: it can change behavior.
What it does
Add @param docblock array type, based on array dim fetch access
Configuration
[lint.rules]
"types/add-param-phpdoc-from-dim-fetch" = "error"
To skip it in some files or lines, add an override or an ignore comment.