We can remove this fix when the issue is resolved: https://github.com/phpstan/phpstan/issues/7732 [MAILPOET-4946]