task: #3567358 PHPStan fixes

Closes #3567358

Merge request reports

Loading