Completed
Pull Request — master (#171)
by Atymic
10:48 queued 05:29
created
src/SocialiteWasCalled.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Helpers/ConfigRetriever.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * @param string $key
88 88
      *
89
-     * @return string|array|null
89
+     * @return string
90 90
      *
91 91
      * @throws MissingConfigException
92 92
      */
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     {
16 16
         if ($this->app instanceof \Illuminate\Foundation\Application) {
17 17
             // Laravel
18
-            $this->app->booted(function () {
18
+            $this->app->booted(function() {
19 19
                 $socialiteWasCalled = app(SocialiteWasCalled::class);
20 20
 
21 21
                 event($socialiteWasCalled);
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         }
41 41
 
42 42
         if (!$this->app->bound(ConfigRetrieverInterface::class)) {
43
-            $this->app->singleton(ConfigRetrieverInterface::class, function () {
43
+            $this->app->singleton(ConfigRetrieverInterface::class, function() {
44 44
                 return new ConfigRetriever();
45 45
             });
46 46
         }
Please login to merge, or discard this patch.
src/OAuth1/AbstractProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public static function serviceContainerKey($providerName): string
37 37
     {
38
-        return SocialiteWasCalled::SERVICE_CONTAINER_PREFIX . $providerName;
38
+        return SocialiteWasCalled::SERVICE_CONTAINER_PREFIX.$providerName;
39 39
     }
40 40
 
41 41
     /**
Please login to merge, or discard this patch.