Passed
Push — master ( 7b6f68...c205fa )
by Roeland
10:52 queued 10s
created
apps/settings/lib/Controller/AppSettingsController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -245,10 +245,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 		}
Please login to merge, or discard this patch.