task: #3571944 phpstan fixes

Closes #3571944

Merge request reports

Loading