Resolve #3610966 "Fix phpstan on 2.x"

Closes #3610966

Merge request reports

Loading