Completed
Pull Request — master (#23)
by Sam
04:31 queued 01:51
created
src/AppBundle/Controller/TopEditsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
                 'username' => $username,
50 50
             ]);
51 51
         } elseif ($project != "") {
52
-            return $this->redirectToRoute("TopEditsResults", [ 'project'=>$project ]);
52
+            return $this->redirectToRoute("TopEditsResults", ['project'=>$project]);
53 53
         }
54 54
 
55 55
         // set default wiki so we can populate the namespace selector
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         }
128 128
 
129 129
         // Get page info about these 100 pages, so we can use their display title.
130
-        $titles = array_map(function ($e) {
130
+        $titles = array_map(function($e) {
131 131
             return $e['page_title'];
132 132
         }, $editData);
133 133
         $displayTitles = $apiHelper->displayTitles($project, $titles);
Please login to merge, or discard this patch.