Completed
Push — master ( 4ffd57...6a646c )
by Michael
02:30
created
services/GitLab.service.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     {
193 193
         $groups = $this->makeSingleGitLabGetRequest('/groups');
194 194
 
195
-        return array_map(function ($group) {
195
+        return array_map(function($group) {
196 196
             return $group['full_path'];
197 197
         }, $groups);
198 198
     }
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
                 $endpoint = "/projects/$organisation%2F{$project['path']}/hooks?per_page=100";
215 215
                 $repoHooks = $this->makeSingleGitLabGetRequest($endpoint);
216 216
             } catch (HTTPRequestException $e) {
217
-                $repo->error = (int)$e->getCode();
217
+                $repo->error = (int) $e->getCode();
218 218
             }
219 219
 
220 220
             $repoHooks = array_filter($repoHooks, [$this, 'isOurIssueHook']);
Please login to merge, or discard this patch.
action/ajax.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
         $html = '<div class="org_repos">';
137 137
         $html .= '<p>' . $this->getLang('text:repo admin') . '</p>';
138 138
         $html .= '<div><ul>';
139
-        usort($repos, function ($repo1, $repo2) {
139
+        usort($repos, function($repo1, $repo2) {
140 140
             return $repo1->displayName < $repo2->displayName ? -1 : 1;
141 141
         });
142 142
         $importSVG = inlineSVG(__DIR__ . '/../images/import.svg');
Please login to merge, or discard this patch.