Fix phpcsphpstan warnings

Closes #3570867

Merge request reports

Loading