Test Failed
Push — master ( 53c877...bfb78e )
by MusikAnimal
19:13 queued 31s
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(SessionInterface $session): RedirectResponse
95 95
     {
96 96
         try {
97
-            [ $next, $token ] = $this->getOauthClient()->initiate();
97
+            [$next, $token] = $this->getOauthClient()->initiate();
98 98
         } catch (Exception $oauthException) {
99 99
             throw $oauthException;
100 100
             // @TODO Make this work.
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
                     . '?title=Special:OAuth';
170 170
         $conf = new ClientConfig($endpoint);
171 171
         $consumerKey = $this->getParameter('oauth_key');
172
-        $consumerSecret =  $this->getParameter('oauth_secret');
172
+        $consumerSecret = $this->getParameter('oauth_secret');
173 173
         $conf->setConsumer(new Consumer($consumerKey, $consumerSecret));
174 174
         $this->oauthClient = new Client($conf);
175 175
         // Callback URL is hardcoded in the consumer registration.
Please login to merge, or discard this patch.