task: #3566980 PHPStan fixes

Closes #3566980

Merge request reports

Loading