@@ -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. ' |
@@ -27,7 +27,7 @@ |
||
27 | 27 | */ |
28 | 28 | protected function main() |
29 | 29 | { |
30 | - if(WebRequest::getString('queue') === null) { |
|
30 | + if (WebRequest::getString('queue') === null) { |
|
31 | 31 | $this->redirect(''); |
32 | 32 | return; |
33 | 33 | } |
@@ -183,7 +183,7 @@ |
||
183 | 183 | $requestsByQueue = $search->fetchByQueue(array_keys($queuesById)); |
184 | 184 | |
185 | 185 | foreach ($requestsByQueue as $queueId => $queueData) { |
186 | - if($queueData['count'] > 0 || $queuesById[$queueId]->isEnabled()) { |
|
186 | + if ($queueData['count'] > 0 || $queuesById[$queueId]->isEnabled()) { |
|
187 | 187 | $requestSectionData[$queuesById[$queueId]->getHeader()] = array( |
188 | 188 | 'requests' => $this->prepareRequestData($queueData['data']), |
189 | 189 | 'total' => $queueData['count'], |