Issue #3618654 by DamienMcKenna: Coding standards fixes per phpstan.

Closes #3618654

Merge request reports

Loading