fix: #3504502 Fix PHPStan warnings reported by CI.

By: rajeshreeputra By: recrit By: beltofte

Related to #3504502

Merge request reports

Loading