Passed
Push — main ( d0ae6c...713c1e )
by MusikAnimal
03:26
created
src/Controller/DefaultController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         string $centralAuthProject
68 68
     ): RedirectResponse {
69 69
         try {
70
-            [ $next, $token ] = $this->getOauthClient($request, $projectRepo, $centralAuthProject)->initiate();
70
+            [$next, $token] = $this->getOauthClient($request, $projectRepo, $centralAuthProject)->initiate();
71 71
         } catch (Exception $oauthException) {
72 72
             $this->addFlashMessage('notice', 'error-login');
73 73
             return $this->redirectToRoute('homepage');
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
                     . '?title=Special:OAuth';
155 155
         $conf = new ClientConfig($endpoint);
156 156
         $consumerKey = $this->getParameter('oauth_key');
157
-        $consumerSecret =  $this->getParameter('oauth_secret');
157
+        $consumerSecret = $this->getParameter('oauth_secret');
158 158
         $conf->setConsumer(new Consumer($consumerKey, $consumerSecret));
159 159
         $this->oauthClient = new Client($conf);
160 160
 
Please login to merge, or discard this patch.