Completed
Push — master ( 47402c...df5e45 )
by Atymic
08:20
created
src/ServiceProvider.php 1 patch
Spacing   +3 added lines, -3 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);
@@ -35,11 +35,11 @@  discard block
 block discarded – undo
35 35
     {
36 36
         parent::register();
37 37
 
38
-        if (class_exists('Laravel\Lumen\Application') && ! defined('SOCIALITEPROVIDERS_STATELESS')) {
38
+        if (class_exists('Laravel\Lumen\Application') && !defined('SOCIALITEPROVIDERS_STATELESS')) {
39 39
             define('SOCIALITEPROVIDERS_STATELESS', true);
40 40
         }
41 41
 
42
-        if (! $this->app->bound(ConfigRetrieverInterface::class)) {
42
+        if (!$this->app->bound(ConfigRetrieverInterface::class)) {
43 43
             $this->app->singleton(ConfigRetrieverInterface::class, fn() => new ConfigRetriever());
44 44
         }
45 45
     }
Please login to merge, or discard this patch.
src/Helpers/ConfigRetriever.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,12 +86,12 @@
 block discarded – undo
86 86
         $keyExists = array_key_exists($key, $this->servicesArray);
87 87
 
88 88
         // ADDITIONAL value is empty
89
-        if (! $keyExists && $this->isAdditionalConfig($key)) {
89
+        if (!$keyExists && $this->isAdditionalConfig($key)) {
90 90
             return $key == 'guzzle' ? [] : null;
91 91
         }
92 92
 
93 93
         // REQUIRED value is empty
94
-        if (! $keyExists) {
94
+        if (!$keyExists) {
95 95
             throw new MissingConfigException("Missing services entry for {$this->providerName}.$key");
96 96
         }
97 97
 
Please login to merge, or discard this patch.