Fixing PHPSTAN issues.