feat: #3570932 Issues reported by phpstan

By: bluegeek9

Closes #3570932

Merge request reports

Loading