Passed
Push — master ( 52718a...4c1d96 )
by Benjamin
11:03 queued 03:42
created
src/controllers/SettingsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
         ];
134 134
 
135 135
         $key = 'plugins.videos.settings.oauthProviderOptions';
136
-        $configPath = $key . '.' . $gateway->getHandle();
136
+        $configPath = $key.'.'.$gateway->getHandle();
137 137
 
138 138
         Craft::$app->getProjectConfig()->set($configPath, $configData, "Save the “{$gateway->getHandle()}” integration");
139 139
 
Please login to merge, or discard this patch.
src/migrations/m200925_135118_refactor_oauth_provider_options.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
             // Get OAuth provider options
26 26
             $oauthProviderOptions = $projectConfig->get('plugins.videos.settings.oauthProviderOptions', true);
27 27
 
28
-            if(!is_array($oauthProviderOptions)) {
28
+            if (!is_array($oauthProviderOptions)) {
29 29
                 return true;
30 30
             }
31 31
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             $projectConfig->set('plugins.videos.settings.oauthProviderOptions', [], "Reset the oauth provider options");
36 36
 
37 37
             // Rebuild OAuth provider options
38
-            foreach($oauthProviderOptions as $providerHandle => $provider) {
38
+            foreach ($oauthProviderOptions as $providerHandle => $provider) {
39 39
                 $projectConfig->set('plugins.videos.settings.oauthProviderOptions.'.$providerHandle, $provider, "Save the “{$providerHandle}” provider");
40 40
             }
41 41
         }
Please login to merge, or discard this patch.