@@ -352,7 +352,7 @@ |
||
352 | 352 | $creationTaskClass = null; |
353 | 353 | |
354 | 354 | if ($action === self::CREATE_OAUTH) { |
355 | - if(!$canOauthCreate) { |
|
355 | + if (!$canOauthCreate) { |
|
356 | 356 | throw new AccessDeniedException($this->getSecurityManager()); |
357 | 357 | } |
358 | 358 |
@@ -190,7 +190,7 @@ |
||
190 | 190 | $endpoint = $this->siteConfiguration->getMetaWikimediaWebServiceEndpoint(); |
191 | 191 | $response = $this->httpHelper->get($endpoint, $parameters); |
192 | 192 | $response = json_decode($response, true); |
193 | - } |
|
193 | + } |
|
194 | 194 | catch (CurlException $ex) { |
195 | 195 | // failed getting identification status, so throw a nicer error. |
196 | 196 | $message = 'Could not contact metawiki API to determine user\' identification status. ' |