@@ -245,10 +245,10 @@ discard block |
||
245 | 245 | $dependencyAnalyzer = new DependencyAnalyzer(new Platform($this->config), $this->l10n); |
246 | 246 | |
247 | 247 | // Extend existing app details |
248 | - $apps = array_map(function ($appData) use ($dependencyAnalyzer) { |
|
248 | + $apps = array_map(function($appData) use ($dependencyAnalyzer) { |
|
249 | 249 | if (isset($appData['appstoreData'])) { |
250 | 250 | $appstoreData = $appData['appstoreData']; |
251 | - $appData['screenshot'] = isset($appstoreData['screenshots'][0]['url']) ? 'https://usercontent.apps.nextcloud.com/' . base64_encode($appstoreData['screenshots'][0]['url']) : ''; |
|
251 | + $appData['screenshot'] = isset($appstoreData['screenshots'][0]['url']) ? 'https://usercontent.apps.nextcloud.com/'.base64_encode($appstoreData['screenshots'][0]['url']) : ''; |
|
252 | 252 | $appData['category'] = $appstoreData['categories']; |
253 | 253 | $appData['releases'] = $appstoreData['releases']; |
254 | 254 | } |
@@ -543,8 +543,8 @@ discard block |
||
543 | 543 | } |
544 | 544 | |
545 | 545 | private function sortApps($a, $b) { |
546 | - $a = (string)$a['name']; |
|
547 | - $b = (string)$b['name']; |
|
546 | + $a = (string) $a['name']; |
|
547 | + $b = (string) $b['name']; |
|
548 | 548 | if ($a === $b) { |
549 | 549 | return 0; |
550 | 550 | } |