lint/types/add-param-type-dim-fetch-key
In the types set. Unsafe fix: it can change behaviour.
What it does
Add method param type based on use in array dim fetch of known keys
Configuration
[lint.rules]
"types/add-param-type-dim-fetch-key" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
AddParamFromDimFetchKeyUse(rector)