Passed
Push — master ( d52ee8...0e6e80 )
by Joas
52:59 queued 30:23
created
lib/private/Files/Storage/Wrapper/Jail.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	}
57 57
 
58 58
 	public function getUnjailedPath($path) {
59
-		return trim(Filesystem::normalizePath($this->rootPath . '/' . $path), '/');
59
+		return trim(Filesystem::normalizePath($this->rootPath.'/'.$path), '/');
60 60
 	}
61 61
 
62 62
 	/**
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
 
70 70
 	public function getJailedPath($path) {
71
-		$root = rtrim($this->rootPath, '/') . '/';
71
+		$root = rtrim($this->rootPath, '/').'/';
72 72
 
73 73
 		if ($path !== $this->rootPath && strpos($path, $root) !== 0) {
74 74
 			return null;
Please login to merge, or discard this patch.
apps/files/lib/Controller/DirectEditingController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 			]);
89 89
 		} catch (Exception $e) {
90 90
 			$this->logger->logException($e, ['message' => 'Exception when creating a new file through direct editing']);
91
-			return new DataResponse(['message' => 'Failed to create file: ' . $e->getMessage()], Http::STATUS_FORBIDDEN);
91
+			return new DataResponse(['message' => 'Failed to create file: '.$e->getMessage()], Http::STATUS_FORBIDDEN);
92 92
 		}
93 93
 	}
94 94
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 			]);
109 109
 		} catch (Exception $e) {
110 110
 			$this->logger->logException($e, ['message' => 'Exception when opening a file through direct editing']);
111
-			return new DataResponse(['message' => 'Failed to open file: ' . $e->getMessage()], Http::STATUS_FORBIDDEN);
111
+			return new DataResponse(['message' => 'Failed to open file: '.$e->getMessage()], Http::STATUS_FORBIDDEN);
112 112
 		}
113 113
 	}
114 114
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 			return new DataResponse($this->directEditingManager->getTemplates($editorId, $creatorId));
128 128
 		} catch (Exception $e) {
129 129
 			$this->logger->logException($e);
130
-			return new DataResponse(['message' => 'Failed to obtain template list: ' . $e->getMessage()], Http::STATUS_INTERNAL_SERVER_ERROR);
130
+			return new DataResponse(['message' => 'Failed to obtain template list: '.$e->getMessage()], Http::STATUS_INTERNAL_SERVER_ERROR);
131 131
 		}
132 132
 	}
133 133
 }
Please login to merge, or discard this patch.
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.
apps/dav/lib/CardDAV/ImageExportPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 			return true;
73 73
 		}
74 74
 
75
-		$size = isset($queryParams['size']) ? (int)$queryParams['size'] : -1;
75
+		$size = isset($queryParams['size']) ? (int) $queryParams['size'] : -1;
76 76
 
77 77
 		$path = $request->getPath();
78 78
 		$node = $this->server->tree->getNodeForPath($path);
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 		try {
104 104
 			$file = $this->cache->get($addressbook->getResourceId(), $node->getName(), $size, $node);
105 105
 			$response->setHeader('Content-Type', $file->getMimeType());
106
-			$fileName = $node->getName() . '.' . PhotoCache::ALLOWED_CONTENT_TYPES[$file->getMimeType()];
106
+			$fileName = $node->getName().'.'.PhotoCache::ALLOWED_CONTENT_TYPES[$file->getMimeType()];
107 107
 			$response->setHeader('Content-Disposition', "attachment; filename=$fileName");
108 108
 			$response->setStatus(200);
109 109
 
Please login to merge, or discard this patch.
apps/settings/lib/Controller/ReasonsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 	 * @NoSubAdminRequired
37 37
 	 */
38 38
 	public function getPdf() {
39
-		$data = file_get_contents(__DIR__ . '/../../data/Reasons to use Nextcloud.pdf');
39
+		$data = file_get_contents(__DIR__.'/../../data/Reasons to use Nextcloud.pdf');
40 40
 
41 41
 		$resp = new DataDisplayResponse($data);
42 42
 		$resp->addHeader('Content-Type', 'application/pdf');
Please login to merge, or discard this patch.
apps/settings/appinfo/routes.php 1 patch
Spacing   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -29,56 +29,56 @@
 block discarded – undo
29 29
 
30 30
 return [
31 31
 	'resources' => [
32
-		'AuthSettings' => ['url' => '/settings/personal/authtokens' , 'root' => ''],
32
+		'AuthSettings' => ['url' => '/settings/personal/authtokens', 'root' => ''],
33 33
 	],
34 34
 	'routes' => [
35
-		['name' => 'AuthSettings#wipe', 'url' => '/settings/personal/authtokens/wipe/{id}', 'verb' => 'POST' , 'root' => ''],
35
+		['name' => 'AuthSettings#wipe', 'url' => '/settings/personal/authtokens/wipe/{id}', 'verb' => 'POST', 'root' => ''],
36 36
 
37
-		['name' => 'MailSettings#setMailSettings', 'url' => '/settings/admin/mailsettings', 'verb' => 'POST' , 'root' => ''],
38
-		['name' => 'MailSettings#storeCredentials', 'url' => '/settings/admin/mailsettings/credentials', 'verb' => 'POST' , 'root' => ''],
39
-		['name' => 'MailSettings#sendTestMail', 'url' => '/settings/admin/mailtest', 'verb' => 'POST' , 'root' => ''],
40
-		['name' => 'Encryption#startMigration', 'url' => '/settings/admin/startmigration', 'verb' => 'POST' , 'root' => ''],
37
+		['name' => 'MailSettings#setMailSettings', 'url' => '/settings/admin/mailsettings', 'verb' => 'POST', 'root' => ''],
38
+		['name' => 'MailSettings#storeCredentials', 'url' => '/settings/admin/mailsettings/credentials', 'verb' => 'POST', 'root' => ''],
39
+		['name' => 'MailSettings#sendTestMail', 'url' => '/settings/admin/mailtest', 'verb' => 'POST', 'root' => ''],
40
+		['name' => 'Encryption#startMigration', 'url' => '/settings/admin/startmigration', 'verb' => 'POST', 'root' => ''],
41 41
 
42
-		['name' => 'AppSettings#listCategories', 'url' => '/settings/apps/categories', 'verb' => 'GET' , 'root' => ''],
43
-		['name' => 'AppSettings#viewApps', 'url' => '/settings/apps', 'verb' => 'GET' , 'root' => ''],
44
-		['name' => 'AppSettings#listApps', 'url' => '/settings/apps/list', 'verb' => 'GET' , 'root' => ''],
45
-		['name' => 'AppSettings#enableApp', 'url' => '/settings/apps/enable/{appId}', 'verb' => 'GET' , 'root' => ''],
46
-		['name' => 'AppSettings#enableApp', 'url' => '/settings/apps/enable/{appId}', 'verb' => 'POST' , 'root' => ''],
47
-		['name' => 'AppSettings#enableApps', 'url' => '/settings/apps/enable', 'verb' => 'POST' , 'root' => ''],
48
-		['name' => 'AppSettings#disableApp', 'url' => '/settings/apps/disable/{appId}', 'verb' => 'GET' , 'root' => ''],
49
-		['name' => 'AppSettings#disableApps', 'url' => '/settings/apps/disable', 'verb' => 'POST' , 'root' => ''],
50
-		['name' => 'AppSettings#updateApp', 'url' => '/settings/apps/update/{appId}', 'verb' => 'GET' , 'root' => ''],
51
-		['name' => 'AppSettings#uninstallApp', 'url' => '/settings/apps/uninstall/{appId}', 'verb' => 'GET' , 'root' => ''],
52
-		['name' => 'AppSettings#viewApps', 'url' => '/settings/apps/{category}', 'verb' => 'GET', 'defaults' => ['category' => ''] , 'root' => ''],
53
-		['name' => 'AppSettings#viewApps', 'url' => '/settings/apps/{category}/{id}', 'verb' => 'GET', 'defaults' => ['category' => '', 'id' => ''] , 'root' => ''],
54
-		['name' => 'AppSettings#force', 'url' => '/settings/apps/force', 'verb' => 'POST' , 'root' => ''],
42
+		['name' => 'AppSettings#listCategories', 'url' => '/settings/apps/categories', 'verb' => 'GET', 'root' => ''],
43
+		['name' => 'AppSettings#viewApps', 'url' => '/settings/apps', 'verb' => 'GET', 'root' => ''],
44
+		['name' => 'AppSettings#listApps', 'url' => '/settings/apps/list', 'verb' => 'GET', 'root' => ''],
45
+		['name' => 'AppSettings#enableApp', 'url' => '/settings/apps/enable/{appId}', 'verb' => 'GET', 'root' => ''],
46
+		['name' => 'AppSettings#enableApp', 'url' => '/settings/apps/enable/{appId}', 'verb' => 'POST', 'root' => ''],
47
+		['name' => 'AppSettings#enableApps', 'url' => '/settings/apps/enable', 'verb' => 'POST', 'root' => ''],
48
+		['name' => 'AppSettings#disableApp', 'url' => '/settings/apps/disable/{appId}', 'verb' => 'GET', 'root' => ''],
49
+		['name' => 'AppSettings#disableApps', 'url' => '/settings/apps/disable', 'verb' => 'POST', 'root' => ''],
50
+		['name' => 'AppSettings#updateApp', 'url' => '/settings/apps/update/{appId}', 'verb' => 'GET', 'root' => ''],
51
+		['name' => 'AppSettings#uninstallApp', 'url' => '/settings/apps/uninstall/{appId}', 'verb' => 'GET', 'root' => ''],
52
+		['name' => 'AppSettings#viewApps', 'url' => '/settings/apps/{category}', 'verb' => 'GET', 'defaults' => ['category' => ''], 'root' => ''],
53
+		['name' => 'AppSettings#viewApps', 'url' => '/settings/apps/{category}/{id}', 'verb' => 'GET', 'defaults' => ['category' => '', 'id' => ''], 'root' => ''],
54
+		['name' => 'AppSettings#force', 'url' => '/settings/apps/force', 'verb' => 'POST', 'root' => ''],
55 55
 
56
-		['name' => 'Users#setDisplayName', 'url' => '/settings/users/{username}/displayName', 'verb' => 'POST' , 'root' => ''],
57
-		['name' => 'Users#setEMailAddress', 'url' => '/settings/users/{id}/mailAddress', 'verb' => 'PUT' , 'root' => ''],
58
-		['name' => 'Users#setUserSettings', 'url' => '/settings/users/{username}/settings', 'verb' => 'PUT' , 'root' => ''],
59
-		['name' => 'Users#getVerificationCode', 'url' => '/settings/users/{account}/verify', 'verb' => 'GET' , 'root' => ''],
60
-		['name' => 'Users#usersList', 'url' => '/settings/users', 'verb' => 'GET' , 'root' => ''],
61
-		['name' => 'Users#usersListByGroup', 'url' => '/settings/users/{group}', 'verb' => 'GET', 'requirements' => ['group' => '.+'] , 'root' => ''],
62
-		['name' => 'Users#setPreference', 'url' => '/settings/users/preferences/{key}', 'verb' => 'POST' , 'root' => ''],
63
-		['name' => 'LogSettings#setLogLevel', 'url' => '/settings/admin/log/level', 'verb' => 'POST' , 'root' => ''],
64
-		['name' => 'LogSettings#getEntries', 'url' => '/settings/admin/log/entries', 'verb' => 'GET' , 'root' => ''],
65
-		['name' => 'LogSettings#download', 'url' => '/settings/admin/log/download', 'verb' => 'GET' , 'root' => ''],
66
-		['name' => 'CheckSetup#check', 'url' => '/settings/ajax/checksetup', 'verb' => 'GET' , 'root' => ''],
67
-		['name' => 'CheckSetup#getFailedIntegrityCheckFiles', 'url' => '/settings/integrity/failed', 'verb' => 'GET' , 'root' => ''],
68
-		['name' => 'CheckSetup#rescanFailedIntegrityCheck', 'url' => '/settings/integrity/rescan', 'verb' => 'GET' , 'root' => ''],
69
-		['name' => 'PersonalSettings#index', 'url' => '/settings/user/{section}', 'verb' => 'GET', 'defaults' => ['section' => 'personal-info'] , 'root' => ''],
70
-		['name' => 'AdminSettings#index', 'url' => '/settings/admin/{section}', 'verb' => 'GET', 'defaults' => ['section' => 'server'] , 'root' => ''],
71
-		['name' => 'AdminSettings#form', 'url' => '/settings/admin/{section}', 'verb' => 'GET' , 'root' => ''],
72
-		['name' => 'ChangePassword#changePersonalPassword', 'url' => '/settings/personal/changepassword', 'verb' => 'POST' , 'root' => ''],
73
-		['name' => 'ChangePassword#changeUserPassword', 'url' => '/settings/users/changepassword', 'verb' => 'POST' , 'root' => ''],
74
-		['name' => 'TwoFactorSettings#index', 'url' => '/settings/api/admin/twofactorauth', 'verb' => 'GET' , 'root' => ''],
75
-		['name' => 'TwoFactorSettings#update', 'url' => '/settings/api/admin/twofactorauth', 'verb' => 'PUT' , 'root' => ''],
56
+		['name' => 'Users#setDisplayName', 'url' => '/settings/users/{username}/displayName', 'verb' => 'POST', 'root' => ''],
57
+		['name' => 'Users#setEMailAddress', 'url' => '/settings/users/{id}/mailAddress', 'verb' => 'PUT', 'root' => ''],
58
+		['name' => 'Users#setUserSettings', 'url' => '/settings/users/{username}/settings', 'verb' => 'PUT', 'root' => ''],
59
+		['name' => 'Users#getVerificationCode', 'url' => '/settings/users/{account}/verify', 'verb' => 'GET', 'root' => ''],
60
+		['name' => 'Users#usersList', 'url' => '/settings/users', 'verb' => 'GET', 'root' => ''],
61
+		['name' => 'Users#usersListByGroup', 'url' => '/settings/users/{group}', 'verb' => 'GET', 'requirements' => ['group' => '.+'], 'root' => ''],
62
+		['name' => 'Users#setPreference', 'url' => '/settings/users/preferences/{key}', 'verb' => 'POST', 'root' => ''],
63
+		['name' => 'LogSettings#setLogLevel', 'url' => '/settings/admin/log/level', 'verb' => 'POST', 'root' => ''],
64
+		['name' => 'LogSettings#getEntries', 'url' => '/settings/admin/log/entries', 'verb' => 'GET', 'root' => ''],
65
+		['name' => 'LogSettings#download', 'url' => '/settings/admin/log/download', 'verb' => 'GET', 'root' => ''],
66
+		['name' => 'CheckSetup#check', 'url' => '/settings/ajax/checksetup', 'verb' => 'GET', 'root' => ''],
67
+		['name' => 'CheckSetup#getFailedIntegrityCheckFiles', 'url' => '/settings/integrity/failed', 'verb' => 'GET', 'root' => ''],
68
+		['name' => 'CheckSetup#rescanFailedIntegrityCheck', 'url' => '/settings/integrity/rescan', 'verb' => 'GET', 'root' => ''],
69
+		['name' => 'PersonalSettings#index', 'url' => '/settings/user/{section}', 'verb' => 'GET', 'defaults' => ['section' => 'personal-info'], 'root' => ''],
70
+		['name' => 'AdminSettings#index', 'url' => '/settings/admin/{section}', 'verb' => 'GET', 'defaults' => ['section' => 'server'], 'root' => ''],
71
+		['name' => 'AdminSettings#form', 'url' => '/settings/admin/{section}', 'verb' => 'GET', 'root' => ''],
72
+		['name' => 'ChangePassword#changePersonalPassword', 'url' => '/settings/personal/changepassword', 'verb' => 'POST', 'root' => ''],
73
+		['name' => 'ChangePassword#changeUserPassword', 'url' => '/settings/users/changepassword', 'verb' => 'POST', 'root' => ''],
74
+		['name' => 'TwoFactorSettings#index', 'url' => '/settings/api/admin/twofactorauth', 'verb' => 'GET', 'root' => ''],
75
+		['name' => 'TwoFactorSettings#update', 'url' => '/settings/api/admin/twofactorauth', 'verb' => 'PUT', 'root' => ''],
76 76
 
77
-		['name' => 'Help#help', 'url' => '/settings/help/{mode}', 'verb' => 'GET', 'defaults' => ['mode' => ''] , 'root' => ''],
77
+		['name' => 'Help#help', 'url' => '/settings/help/{mode}', 'verb' => 'GET', 'defaults' => ['mode' => ''], 'root' => ''],
78 78
 
79
-		['name' => 'WebAuthn#startRegistration', 'url' => '/settings/api/personal/webauthn/registration', 'verb' => 'GET' , 'root' => ''],
80
-		['name' => 'WebAuthn#finishRegistration', 'url' => '/settings/api/personal/webauthn/registration', 'verb' => 'POST' , 'root' => ''],
81
-		['name' => 'WebAuthn#deleteRegistration', 'url' => '/settings/api/personal/webauthn/registration/{id}', 'verb' => 'DELETE' , 'root' => ''],
79
+		['name' => 'WebAuthn#startRegistration', 'url' => '/settings/api/personal/webauthn/registration', 'verb' => 'GET', 'root' => ''],
80
+		['name' => 'WebAuthn#finishRegistration', 'url' => '/settings/api/personal/webauthn/registration', 'verb' => 'POST', 'root' => ''],
81
+		['name' => 'WebAuthn#deleteRegistration', 'url' => '/settings/api/personal/webauthn/registration/{id}', 'verb' => 'DELETE', 'root' => ''],
82 82
 
83 83
 		['name' => 'Reasons#getPdf', 'url' => '/settings/download/reasons', 'verb' => 'GET', 'root' => ''],
84 84
 	]
Please login to merge, or discard this patch.
apps/user_status/lib/Service/StatusService.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 	 * @return UserStatus[]
107 107
 	 */
108 108
 	public function findAll(?int $limit = null, ?int $offset = null): array {
109
-		return array_map(function ($status) {
109
+		return array_map(function($status) {
110 110
 			return $this->processStatus($status);
111 111
 		}, $this->mapper->findAll($limit, $offset));
112 112
 	}
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 	 * @return array
118 118
 	 */
119 119
 	public function findAllRecentStatusChanges(?int $limit = null, ?int $offset = null): array {
120
-		return array_map(function ($status) {
120
+		return array_map(function($status) {
121 121
 			return $this->processStatus($status);
122 122
 		}, $this->mapper->findAllRecent($limit, $offset));
123 123
 	}
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 	 * @return UserStatus[]
137 137
 	 */
138 138
 	public function findByUserIds(array $userIds):array {
139
-		return array_map(function ($status) {
139
+		return array_map(function($status) {
140 140
 			return $this->processStatus($status);
141 141
 		}, $this->mapper->findByUserIds($userIds));
142 142
 	}
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
 		// Check if status-type is valid
164 164
 		if (!\in_array($status, self::PRIORITY_ORDERED_STATUSES, true)) {
165
-			throw new InvalidStatusTypeException('Status-type "' . $status . '" is not supported');
165
+			throw new InvalidStatusTypeException('Status-type "'.$status.'" is not supported');
166 166
 		}
167 167
 		if ($statusTimestamp === null) {
168 168
 			$statusTimestamp = $this->timeFactory->getTime();
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 		}
202 202
 
203 203
 		if (!$this->predefinedStatusService->isValidId($messageId)) {
204
-			throw new InvalidMessageIdException('Message-Id "' . $messageId . '" is not supported');
204
+			throw new InvalidMessageIdException('Message-Id "'.$messageId.'" is not supported');
205 205
 		}
206 206
 
207 207
 		// Check that clearAt is in the future
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
 		}
252 252
 		// Check for maximum length of custom message
253 253
 		if (\mb_strlen($message) > self::MAXIMUM_MESSAGE_LENGTH) {
254
-			throw new StatusMessageTooLongException('Message is longer than supported length of ' . self::MAXIMUM_MESSAGE_LENGTH . ' characters');
254
+			throw new StatusMessageTooLongException('Message is longer than supported length of '.self::MAXIMUM_MESSAGE_LENGTH.' characters');
255 255
 		}
256 256
 		// Check that clearAt is in the future
257 257
 		if ($clearAt !== null && $clearAt < $this->timeFactory->getTime()) {
Please login to merge, or discard this patch.
apps/user_status/lib/Connector/UserStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 			$this->status = IUserStatus::OFFLINE;
61 61
 		}
62 62
 		if ($status->getClearAt() !== null) {
63
-			$this->clearAt = DateTimeImmutable::createFromFormat('U', (string)$status->getClearAt());
63
+			$this->clearAt = DateTimeImmutable::createFromFormat('U', (string) $status->getClearAt());
64 64
 		}
65 65
 	}
66 66
 
Please login to merge, or discard this patch.
apps/comments/lib/Search/CommentsSearchProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 	public function search(IUser $user, ISearchQuery $query): SearchResult {
95 95
 		return SearchResult::complete(
96 96
 			$this->l10n->t('Comments'),
97
-			array_map(function (Result $result) {
97
+			array_map(function(Result $result) {
98 98
 				$path = $result->path;
99 99
 				$pathInfo = pathinfo($path);
100 100
 				$isUser = $this->userManager->userExists($result->authorId);
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 					$avatarUrl,
106 106
 					$result->name,
107 107
 					$path,
108
-					$this->urlGenerator->linkToRouteAbsolute('files.view.index',[
108
+					$this->urlGenerator->linkToRouteAbsolute('files.view.index', [
109 109
 						'dir' => $pathInfo['dirname'],
110 110
 						'scrollto' => $pathInfo['basename'],
111 111
 					]),
Please login to merge, or discard this patch.