Passed
Push — master ( 7ef10b...59c1ff )
by Joas
11:15 queued 11s
created
apps/workflowengine/composer/composer/autoload_static.php 1 patch
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -6,56 +6,56 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitWorkflowEngine
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'O' => 
11
-        array (
11
+        array(
12 12
             'OCA\\WorkflowEngine\\' => 19,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'OCA\\WorkflowEngine\\' => 
18
-        array (
19
-            0 => __DIR__ . '/..' . '/../lib',
18
+        array(
19
+            0 => __DIR__.'/..'.'/../lib',
20 20
         ),
21 21
     );
22 22
 
23
-    public static $classMap = array (
24
-        'OCA\\WorkflowEngine\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
25
-        'OCA\\WorkflowEngine\\BackgroundJobs\\Rotate' => __DIR__ . '/..' . '/../lib/BackgroundJobs/Rotate.php',
26
-        'OCA\\WorkflowEngine\\Check\\AbstractStringCheck' => __DIR__ . '/..' . '/../lib/Check/AbstractStringCheck.php',
27
-        'OCA\\WorkflowEngine\\Check\\FileMimeType' => __DIR__ . '/..' . '/../lib/Check/FileMimeType.php',
28
-        'OCA\\WorkflowEngine\\Check\\FileName' => __DIR__ . '/..' . '/../lib/Check/FileName.php',
29
-        'OCA\\WorkflowEngine\\Check\\FileSize' => __DIR__ . '/..' . '/../lib/Check/FileSize.php',
30
-        'OCA\\WorkflowEngine\\Check\\FileSystemTags' => __DIR__ . '/..' . '/../lib/Check/FileSystemTags.php',
31
-        'OCA\\WorkflowEngine\\Check\\RequestRemoteAddress' => __DIR__ . '/..' . '/../lib/Check/RequestRemoteAddress.php',
32
-        'OCA\\WorkflowEngine\\Check\\RequestTime' => __DIR__ . '/..' . '/../lib/Check/RequestTime.php',
33
-        'OCA\\WorkflowEngine\\Check\\RequestURL' => __DIR__ . '/..' . '/../lib/Check/RequestURL.php',
34
-        'OCA\\WorkflowEngine\\Check\\RequestUserAgent' => __DIR__ . '/..' . '/../lib/Check/RequestUserAgent.php',
35
-        'OCA\\WorkflowEngine\\Check\\TFileCheck' => __DIR__ . '/..' . '/../lib/Check/TFileCheck.php',
36
-        'OCA\\WorkflowEngine\\Check\\UserGroupMembership' => __DIR__ . '/..' . '/../lib/Check/UserGroupMembership.php',
37
-        'OCA\\WorkflowEngine\\Command\\Index' => __DIR__ . '/..' . '/../lib/Command/Index.php',
38
-        'OCA\\WorkflowEngine\\Controller\\AWorkflowController' => __DIR__ . '/..' . '/../lib/Controller/AWorkflowController.php',
39
-        'OCA\\WorkflowEngine\\Controller\\GlobalWorkflowsController' => __DIR__ . '/..' . '/../lib/Controller/GlobalWorkflowsController.php',
40
-        'OCA\\WorkflowEngine\\Controller\\RequestTime' => __DIR__ . '/..' . '/../lib/Controller/RequestTime.php',
41
-        'OCA\\WorkflowEngine\\Controller\\UserWorkflowsController' => __DIR__ . '/..' . '/../lib/Controller/UserWorkflowsController.php',
42
-        'OCA\\WorkflowEngine\\Entity\\File' => __DIR__ . '/..' . '/../lib/Entity/File.php',
43
-        'OCA\\WorkflowEngine\\Helper\\LogContext' => __DIR__ . '/..' . '/../lib/Helper/LogContext.php',
44
-        'OCA\\WorkflowEngine\\Helper\\ScopeContext' => __DIR__ . '/..' . '/../lib/Helper/ScopeContext.php',
45
-        'OCA\\WorkflowEngine\\Manager' => __DIR__ . '/..' . '/../lib/Manager.php',
46
-        'OCA\\WorkflowEngine\\Migration\\PopulateNewlyIntroducedDatabaseFields' => __DIR__ . '/..' . '/../lib/Migration/PopulateNewlyIntroducedDatabaseFields.php',
47
-        'OCA\\WorkflowEngine\\Migration\\Version2000Date20190808074233' => __DIR__ . '/..' . '/../lib/Migration/Version2000Date20190808074233.php',
48
-        'OCA\\WorkflowEngine\\Service\\Logger' => __DIR__ . '/..' . '/../lib/Service/Logger.php',
49
-        'OCA\\WorkflowEngine\\Service\\RuleMatcher' => __DIR__ . '/..' . '/../lib/Service/RuleMatcher.php',
50
-        'OCA\\WorkflowEngine\\Settings\\ASettings' => __DIR__ . '/..' . '/../lib/Settings/ASettings.php',
51
-        'OCA\\WorkflowEngine\\Settings\\Admin' => __DIR__ . '/..' . '/../lib/Settings/Admin.php',
52
-        'OCA\\WorkflowEngine\\Settings\\Personal' => __DIR__ . '/..' . '/../lib/Settings/Personal.php',
53
-        'OCA\\WorkflowEngine\\Settings\\Section' => __DIR__ . '/..' . '/../lib/Settings/Section.php',
23
+    public static $classMap = array(
24
+        'OCA\\WorkflowEngine\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
25
+        'OCA\\WorkflowEngine\\BackgroundJobs\\Rotate' => __DIR__.'/..'.'/../lib/BackgroundJobs/Rotate.php',
26
+        'OCA\\WorkflowEngine\\Check\\AbstractStringCheck' => __DIR__.'/..'.'/../lib/Check/AbstractStringCheck.php',
27
+        'OCA\\WorkflowEngine\\Check\\FileMimeType' => __DIR__.'/..'.'/../lib/Check/FileMimeType.php',
28
+        'OCA\\WorkflowEngine\\Check\\FileName' => __DIR__.'/..'.'/../lib/Check/FileName.php',
29
+        'OCA\\WorkflowEngine\\Check\\FileSize' => __DIR__.'/..'.'/../lib/Check/FileSize.php',
30
+        'OCA\\WorkflowEngine\\Check\\FileSystemTags' => __DIR__.'/..'.'/../lib/Check/FileSystemTags.php',
31
+        'OCA\\WorkflowEngine\\Check\\RequestRemoteAddress' => __DIR__.'/..'.'/../lib/Check/RequestRemoteAddress.php',
32
+        'OCA\\WorkflowEngine\\Check\\RequestTime' => __DIR__.'/..'.'/../lib/Check/RequestTime.php',
33
+        'OCA\\WorkflowEngine\\Check\\RequestURL' => __DIR__.'/..'.'/../lib/Check/RequestURL.php',
34
+        'OCA\\WorkflowEngine\\Check\\RequestUserAgent' => __DIR__.'/..'.'/../lib/Check/RequestUserAgent.php',
35
+        'OCA\\WorkflowEngine\\Check\\TFileCheck' => __DIR__.'/..'.'/../lib/Check/TFileCheck.php',
36
+        'OCA\\WorkflowEngine\\Check\\UserGroupMembership' => __DIR__.'/..'.'/../lib/Check/UserGroupMembership.php',
37
+        'OCA\\WorkflowEngine\\Command\\Index' => __DIR__.'/..'.'/../lib/Command/Index.php',
38
+        'OCA\\WorkflowEngine\\Controller\\AWorkflowController' => __DIR__.'/..'.'/../lib/Controller/AWorkflowController.php',
39
+        'OCA\\WorkflowEngine\\Controller\\GlobalWorkflowsController' => __DIR__.'/..'.'/../lib/Controller/GlobalWorkflowsController.php',
40
+        'OCA\\WorkflowEngine\\Controller\\RequestTime' => __DIR__.'/..'.'/../lib/Controller/RequestTime.php',
41
+        'OCA\\WorkflowEngine\\Controller\\UserWorkflowsController' => __DIR__.'/..'.'/../lib/Controller/UserWorkflowsController.php',
42
+        'OCA\\WorkflowEngine\\Entity\\File' => __DIR__.'/..'.'/../lib/Entity/File.php',
43
+        'OCA\\WorkflowEngine\\Helper\\LogContext' => __DIR__.'/..'.'/../lib/Helper/LogContext.php',
44
+        'OCA\\WorkflowEngine\\Helper\\ScopeContext' => __DIR__.'/..'.'/../lib/Helper/ScopeContext.php',
45
+        'OCA\\WorkflowEngine\\Manager' => __DIR__.'/..'.'/../lib/Manager.php',
46
+        'OCA\\WorkflowEngine\\Migration\\PopulateNewlyIntroducedDatabaseFields' => __DIR__.'/..'.'/../lib/Migration/PopulateNewlyIntroducedDatabaseFields.php',
47
+        'OCA\\WorkflowEngine\\Migration\\Version2000Date20190808074233' => __DIR__.'/..'.'/../lib/Migration/Version2000Date20190808074233.php',
48
+        'OCA\\WorkflowEngine\\Service\\Logger' => __DIR__.'/..'.'/../lib/Service/Logger.php',
49
+        'OCA\\WorkflowEngine\\Service\\RuleMatcher' => __DIR__.'/..'.'/../lib/Service/RuleMatcher.php',
50
+        'OCA\\WorkflowEngine\\Settings\\ASettings' => __DIR__.'/..'.'/../lib/Settings/ASettings.php',
51
+        'OCA\\WorkflowEngine\\Settings\\Admin' => __DIR__.'/..'.'/../lib/Settings/Admin.php',
52
+        'OCA\\WorkflowEngine\\Settings\\Personal' => __DIR__.'/..'.'/../lib/Settings/Personal.php',
53
+        'OCA\\WorkflowEngine\\Settings\\Section' => __DIR__.'/..'.'/../lib/Settings/Section.php',
54 54
     );
55 55
 
56 56
     public static function getInitializer(ClassLoader $loader)
57 57
     {
58
-        return \Closure::bind(function () use ($loader) {
58
+        return \Closure::bind(function() use ($loader) {
59 59
             $loader->prefixLengthsPsr4 = ComposerStaticInitWorkflowEngine::$prefixLengthsPsr4;
60 60
             $loader->prefixDirsPsr4 = ComposerStaticInitWorkflowEngine::$prefixDirsPsr4;
61 61
             $loader->classMap = ComposerStaticInitWorkflowEngine::$classMap;
Please login to merge, or discard this patch.
apps/settings/lib/Settings/Admin/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 			'cronMaxAge'          => $this->cronMaxAge(),
62 62
 			'cronErrors'          => $this->config->getAppValue('core', 'cronErrors'),
63 63
 			'cli_based_cron_possible' => function_exists('posix_getpwuid'),
64
-			'cli_based_cron_user' => function_exists('posix_getpwuid') ? posix_getpwuid(fileowner(\OC::$configDir . 'config.php'))['name'] : '',
64
+			'cli_based_cron_user' => function_exists('posix_getpwuid') ? posix_getpwuid(fileowner(\OC::$configDir.'config.php'))['name'] : '',
65 65
 		];
66 66
 
67 67
 		return new TemplateResponse('settings', 'settings/admin/server', $parameters, '');
Please login to merge, or discard this patch.
apps/files/lib/Controller/TransferOwnershipController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 				'targetUser' => $recipient,
113 113
 				'nodeName' => $node->getName(),
114 114
 			])
115
-			->setObject('transfer', (string)$transferOwnership->getId());
115
+			->setObject('transfer', (string) $transferOwnership->getId());
116 116
 
117 117
 		$this->notificationManager->notify($notification);
118 118
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 
136 136
 		$notification = $this->notificationManager->createNotification();
137 137
 		$notification->setApp('files')
138
-			->setObject('transfer', (string)$id);
138
+			->setObject('transfer', (string) $id);
139 139
 		$this->notificationManager->markProcessed($notification);
140 140
 
141 141
 		$newTransferOwnership = new TransferOwnershipEntity();
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
 
169 169
 		$notification = $this->notificationManager->createNotification();
170 170
 		$notification->setApp('files')
171
-			->setObject('transfer', (string)$id);
171
+			->setObject('transfer', (string) $id);
172 172
 		$this->notificationManager->markProcessed($notification);
173 173
 
174 174
 		$notification = $this->notificationManager->createNotification();
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 				'targetUser' => $transferOwnership->getTargetUser(),
181 181
 				'nodeName' => $transferOwnership->getNodeName()
182 182
 			])
183
-			->setObject('transfer', (string)$transferOwnership->getId());
183
+			->setObject('transfer', (string) $transferOwnership->getId());
184 184
 		$this->notificationManager->notify($notification);
185 185
 
186 186
 		$this->mapper->delete($transferOwnership);
Please login to merge, or discard this patch.
lib/private/Files/SimpleFS/NewSimpleFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
 			return $this->file->fopen('w');
213 213
 		} else {
214 214
 			$source = fopen('php://temp', 'w+');
215
-			return CallbackWrapper::wrap($source, null, null, null, null, function () use ($source) {
215
+			return CallbackWrapper::wrap($source, null, null, null, null, function() use ($source) {
216 216
 				rewind($source);
217 217
 				$this->putContent($source);
218 218
 			});
Please login to merge, or discard this patch.
lib/public/Lock/LockedException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,10 +56,10 @@
 block discarded – undo
56 56
 	 * @since 8.1.0
57 57
 	 */
58 58
 	public function __construct(string $path, \Exception $previous = null, string $existingLock = null) {
59
-		$message = '"' . $path . '" is locked';
59
+		$message = '"'.$path.'" is locked';
60 60
 		$this->existingLock = $existingLock;
61 61
 		if ($existingLock) {
62
-			$message .= ', existing lock on file: ' . $existingLock;
62
+			$message .= ', existing lock on file: '.$existingLock;
63 63
 		}
64 64
 		parent::__construct($message, 0, $previous);
65 65
 		$this->path = $path;
Please login to merge, or discard this patch.
apps/files/lib/Activity/Provider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -124,9 +124,9 @@  discard block
 block discarded – undo
124 124
 
125 125
 	protected function setIcon(IEvent $event, string $icon, string $app = 'files') {
126 126
 		if ($this->activityManager->getRequirePNG()) {
127
-			$event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon . '.png')));
127
+			$event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon.'.png')));
128 128
 		} else {
129
-			$event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon . '.svg')));
129
+			$event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon.'.svg')));
130 130
 		}
131 131
 	}
132 132
 
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
 		}
246 246
 
247 247
 		if ($this->fileIsEncrypted) {
248
-			$event->setSubject($event->getSubject() . '_enc', $event->getSubjectParameters());
248
+			$event->setSubject($event->getSubject().'_enc', $event->getSubjectParameters());
249 249
 		}
250 250
 
251 251
 		if (!isset($parsedParameters['user'])) {
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 	protected function setSubjects(IEvent $event, $subject, array $parameters) {
273 273
 		$placeholders = $replacements = [];
274 274
 		foreach ($parameters as $placeholder => $parameter) {
275
-			$placeholders[] = '{' . $placeholder . '}';
275
+			$placeholders[] = '{'.$placeholder.'}';
276 276
 			if ($parameter['type'] === 'file') {
277 277
 				$replacements[] = $parameter['path'];
278 278
 			} else {
@@ -538,7 +538,7 @@  discard block
 block discarded – undo
538 538
 				$lowerSearch = strtolower($search);
539 539
 				foreach ($cloudIds as $cloudId) {
540 540
 					if (strtolower($cloudId) === $lowerSearch) {
541
-						$this->displayNames[$search] = $contact['FN'] . " ($cloudId)";
541
+						$this->displayNames[$search] = $contact['FN']." ($cloudId)";
542 542
 						return $this->displayNames[$search];
543 543
 					}
544 544
 				}
Please login to merge, or discard this patch.
apps/files_sharing/lib/Activity/Providers/Base.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 	protected function setSubjects(IEvent $event, $subject, array $parameters) {
126 126
 		$placeholders = $replacements = [];
127 127
 		foreach ($parameters as $placeholder => $parameter) {
128
-			$placeholders[] = '{' . $placeholder . '}';
128
+			$placeholders[] = '{'.$placeholder.'}';
129 129
 			if ($parameter['type'] === 'file') {
130 130
 				$replacements[] = $parameter['path'];
131 131
 			} else {
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 				$lowerSearch = strtolower($search);
219 219
 				foreach ($cloudIds as $cloudId) {
220 220
 					if (strtolower($cloudId) === $lowerSearch) {
221
-						$this->displayNames[$search] = $contact['FN'] . " ($cloudId)";
221
+						$this->displayNames[$search] = $contact['FN']." ($cloudId)";
222 222
 						return $this->displayNames[$search];
223 223
 					}
224 224
 				}
Please login to merge, or discard this patch.
apps/files_sharing/lib/Controller/RemoteController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 			return new DataResponse();
84 84
 		}
85 85
 
86
-		$this->logger->error('Could not accept federated share with id: ' . $id,
86
+		$this->logger->error('Could not accept federated share with id: '.$id,
87 87
 			['app' => 'files_sharing']);
88 88
 
89 89
 		throw new OCSNotFoundException('wrong share ID, share doesn\'t exist.');
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 	 * @return array enriched share info with data from the filecache
115 115
 	 */
116 116
 	private static function extendShareInfo($share) {
117
-		$view = new \OC\Files\View('/' . \OC_User::getUser() . '/files/');
117
+		$view = new \OC\Files\View('/'.\OC_User::getUser().'/files/');
118 118
 		$info = $view->getFileInfo($share['mountpoint']);
119 119
 
120 120
 		if ($info === false) {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 			throw new OCSNotFoundException('Share does not exist');
182 182
 		}
183 183
 
184
-		$mountPoint = '/' . \OC_User::getUser() . '/files' . $shareInfo['mountpoint'];
184
+		$mountPoint = '/'.\OC_User::getUser().'/files'.$shareInfo['mountpoint'];
185 185
 
186 186
 		if ($this->externalManager->removeShare($mountPoint) === true) {
187 187
 			return new DataResponse();
Please login to merge, or discard this patch.
apps/files_external/lib/Controller/StoragesController.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 			$this->logger->logException($e);
130 130
 			return new DataResponse(
131 131
 				[
132
-					'message' => (string)$this->l10n->t('Invalid backend or authentication mechanism class')
132
+					'message' => (string) $this->l10n->t('Invalid backend or authentication mechanism class')
133 133
 				],
134 134
 				Http::STATUS_UNPROCESSABLE_ENTITY
135 135
 			);
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 		if ($mountPoint === '') {
149 149
 			return new DataResponse(
150 150
 				[
151
-					'message' => (string)$this->l10n->t('Invalid mount point'),
151
+					'message' => (string) $this->l10n->t('Invalid mount point'),
152 152
 				],
153 153
 				Http::STATUS_UNPROCESSABLE_ENTITY
154 154
 			);
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 			// objectstore must not be sent from client side
159 159
 			return new DataResponse(
160 160
 				[
161
-					'message' => (string)$this->l10n->t('Objectstore forbidden'),
161
+					'message' => (string) $this->l10n->t('Objectstore forbidden'),
162 162
 				],
163 163
 				Http::STATUS_UNPROCESSABLE_ENTITY
164 164
 			);
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 			// invalid backend
173 173
 			return new DataResponse(
174 174
 				[
175
-					'message' => (string)$this->l10n->t('Invalid storage backend "%s"', [
175
+					'message' => (string) $this->l10n->t('Invalid storage backend "%s"', [
176 176
 						$backend->getIdentifier(),
177 177
 					]),
178 178
 				],
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
 			// not permitted to use backend
185 185
 			return new DataResponse(
186 186
 				[
187
-					'message' => (string)$this->l10n->t('Not permitted to use backend "%s"', [
187
+					'message' => (string) $this->l10n->t('Not permitted to use backend "%s"', [
188 188
 						$backend->getIdentifier(),
189 189
 					]),
190 190
 				],
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 			// not permitted to use auth mechanism
196 196
 			return new DataResponse(
197 197
 				[
198
-					'message' => (string)$this->l10n->t('Not permitted to use authentication mechanism "%s"', [
198
+					'message' => (string) $this->l10n->t('Not permitted to use authentication mechanism "%s"', [
199 199
 						$authMechanism->getIdentifier(),
200 200
 					]),
201 201
 				],
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
 			// unsatisfied parameters
208 208
 			return new DataResponse(
209 209
 				[
210
-					'message' => (string)$this->l10n->t('Unsatisfied backend parameters'),
210
+					'message' => (string) $this->l10n->t('Unsatisfied backend parameters'),
211 211
 				],
212 212
 				Http::STATUS_UNPROCESSABLE_ENTITY
213 213
 			);
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 			// unsatisfied parameters
217 217
 			return new DataResponse(
218 218
 				[
219
-					'message' => (string)$this->l10n->t('Unsatisfied authentication mechanism parameters'),
219
+					'message' => (string) $this->l10n->t('Unsatisfied authentication mechanism parameters'),
220 220
 				],
221 221
 				Http::STATUS_UNPROCESSABLE_ENTITY
222 222
 			);
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
 			// FIXME: convert storage exceptions to StorageNotAvailableException
274 274
 			$storage->setStatus(
275 275
 				StorageNotAvailableException::STATUS_ERROR,
276
-				get_class($e) . ': ' . $e->getMessage()
276
+				get_class($e).': '.$e->getMessage()
277 277
 			);
278 278
 		}
279 279
 	}
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
 	}
294 294
 
295 295
 	protected function formatStoragesForUI(array $storages): array {
296
-		return array_map(function ($storage) {
296
+		return array_map(function($storage) {
297 297
 			return $this->formatStorageForUI($storage);
298 298
 		}, $storages);
299 299
 	}
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
 		} catch (NotFoundException $e) {
332 332
 			return new DataResponse(
333 333
 				[
334
-					'message' => (string)$this->l10n->t('Storage with ID "%d" not found', [$id]),
334
+					'message' => (string) $this->l10n->t('Storage with ID "%d" not found', [$id]),
335 335
 				],
336 336
 				Http::STATUS_NOT_FOUND
337 337
 			);
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
 		} catch (NotFoundException $e) {
357 357
 			return new DataResponse(
358 358
 				[
359
-					'message' => (string)$this->l10n->t('Storage with ID "%d" not found', [$id]),
359
+					'message' => (string) $this->l10n->t('Storage with ID "%d" not found', [$id]),
360 360
 				],
361 361
 				Http::STATUS_NOT_FOUND
362 362
 			);
Please login to merge, or discard this patch.