fix: #3613999 Fix PHPSTAN issues

By: jsacksick

Closes #3613999

Merge request reports

Loading