lint/types/add-param-type-variable-call
In the types set. Unsafe fix: it can change behaviour.
What it does
Add closure param object type based on the argument the assigned closure variable is called with
Configuration
[lint.rules]
"types/add-param-type-variable-call" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
AddClosureParamTypeFromVariableCall(rector)