Passed
Pull Request — main (#480)
by MusikAnimal
03:28 queued 23s
created
src/Controller/GlobalContribsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Controller;
6 6
 
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
         $this->project = $defaultProject;
231 231
 
232 232
         $results = $globalContribs->globalEdits();
233
-        $results = array_map(function (Edit $edit) {
233
+        $results = array_map(function(Edit $edit) {
234 234
             return $edit->getForJson(true);
235 235
         }, array_values($results));
236 236
         $results = $this->addFullPageTitlesAndContinue('globalcontribs', [], $results);
Please login to merge, or discard this patch.
src/Controller/TopEditsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
         // Send all to the template.
178 178
         return $this->getFormattedResponse('topedits/result_page', [
179 179
             'xtPage' => 'TopEdits',
180
-            'xtTitle' => $this->user->getUsername() . ' - ' . $this->page->getTitle(),
180
+            'xtTitle' => $this->user->getUsername().' - '.$this->page->getTitle(),
181 181
             'te' => $topEdits,
182 182
         ]);
183 183
     }
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
         $topEdits->prepareData();
316 316
 
317 317
         return $this->getFormattedApiResponse([
318
-            'top_edits' => array_map(function (Edit $edit) {
318
+            'top_edits' => array_map(function(Edit $edit) {
319 319
                 return $edit->getForJson();
320 320
             }, $topEdits->getTopEdits()),
321 321
         ]);
Please login to merge, or discard this patch.