#3617819: Fix PHPStan errors

Closes #3617819

Merge request reports

Loading