@@ -192,7 +192,7 @@ discard block |
||
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 |
||
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']); |
@@ -136,7 +136,7 @@ |
||
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'); |