my_user_provider: class: AppBundle\User\FOSUBUserProvider public: public #this is the place where the properties are passed to the UserProvider - see config.yml arguments: - '@fos_user.user_manager' - {facebook: facebook_id, google: google_id}
[Symfony\Component\DependencyInjection\Exception\AutowiringFailedException] Cannot autowire service "AppBundle\User\FOSUBUserProvider": argument "$properties" of method "HWI\Bundle\OAuthBundle\Security\Core\User\FOSUBUserProvider::__construct()" must have a type-hint or be given a value explicitly.
Problem tyczy sie 2 argumentu

Czytałem, że powinno wyglądać to w ten sposób:
$properties: {facebook: facebook_id, google: google_id}
Ale wtedy nie wiem jak zapisać pierwszy argument

Odwołuj się to do:
{ parent::__construct($userManager, $properties); }