Resolve #3579976 "Phpstan fixes"

Closes #3579976

Merge request reports

Loading