Changed incorrect type hint for Symfony components