Passed
Push — main ( ee4532...c369f5 )
by MusikAnimal
11:09
created
src/AppBundle/Controller/DefaultController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     public function loginAction(Request $request, SessionInterface $session): RedirectResponse
95 95
     {
96 96
         try {
97
-            [ $next, $token ] = $this->getOauthClient($request)->initiate();
97
+            [$next, $token] = $this->getOauthClient($request)->initiate();
98 98
         } catch (Exception $oauthException) {
99 99
             throw $oauthException;
100 100
             // @TODO Make this work.
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
                     . '?title=Special:OAuth';
176 176
         $conf = new ClientConfig($endpoint);
177 177
         $consumerKey = $this->getParameter('oauth_key');
178
-        $consumerSecret =  $this->getParameter('oauth_secret');
178
+        $consumerSecret = $this->getParameter('oauth_secret');
179 179
         $conf->setConsumer(new Consumer($consumerKey, $consumerSecret));
180 180
         $this->oauthClient = new Client($conf);
181 181
 
Please login to merge, or discard this patch.