Fixing issues with composer dependencies
Fixing method signature after updating FOSUserBundle