| @@ -23,7 +23,7 @@ | ||
| 23 | 23 |              define('SOCIALITEPROVIDERS_STATELESS', true); | 
| 24 | 24 | } | 
| 25 | 25 | |
| 26 | -        $this->app->singleton(ConfigRetrieverInterface::class, function () { | |
| 26 | +        $this->app->singleton(ConfigRetrieverInterface::class, function() { | |
| 27 | 27 | return new ConfigRetriever(); | 
| 28 | 28 | }); | 
| 29 | 29 | } | 
| @@ -59,7 +59,7 @@ | ||
| 59 | 59 | |
| 60 | 60 | $socialite->extend( | 
| 61 | 61 | $providerName, | 
| 62 | -            function () use ($socialite, $providerName, $providerClass, $oauth1Server) { | |
| 62 | +            function() use ($socialite, $providerName, $providerClass, $oauth1Server) { | |
| 63 | 63 | $provider = $this->buildProvider($socialite, $providerName, $providerClass, $oauth1Server); | 
| 64 | 64 |                  if (defined('SOCIALITEPROVIDERS_STATELESS') && SOCIALITEPROVIDERS_STATELESS) { | 
| 65 | 65 | return $provider->stateless(); | 
| @@ -12,7 +12,7 @@ | ||
| 12 | 12 | protected $config; | 
| 13 | 13 | |
| 14 | 14 | /** | 
| 15 | - * @param \SocialiteProviders\Manager\Contracts\OAuth1\ProviderInterface|\SocialiteProviders\Manager\Contracts\OAuth2\ProviderInterface $config | |
| 15 | + * @param ConfigInterface $config | |
| 16 | 16 | */ | 
| 17 | 17 | public function setConfig(ConfigInterface $config) | 
| 18 | 18 |      { | 
| @@ -47,7 +47,7 @@ | ||
| 47 | 47 |              $this->getFromServices('client_id'), | 
| 48 | 48 |              $this->getFromServices('client_secret'), | 
| 49 | 49 |              $this->getFromServices('redirect'), | 
| 50 | -            $this->getConfigItems($additionalConfigKeys, function ($key) { | |
| 50 | +            $this->getConfigItems($additionalConfigKeys, function($key) { | |
| 51 | 51 | return $this->getFromServices(strtolower($key)); | 
| 52 | 52 | }) | 
| 53 | 53 | ); |