@@ -94,7 +94,7 @@ discard block |
||
| 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 |
||
| 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 | |