Completed
Pull Request — master (#8096)
by Joas
20:39 queued 58s
created
lib/private/Settings/Manager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
 			);
309 309
 			$forms[$form->getPriority()] = [$form];
310 310
 		}
311
-		if($section === 'security') {
311
+		if ($section === 'security') {
312 312
 			/** @var ISettings $form */
313 313
 			$form = new Personal\Security();
314 314
 			$forms[$form->getPriority()] = [$form];
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
 		];
352 352
 
353 353
 		$legacyForms = \OC_App::getForms('personal');
354
-		if(!empty($legacyForms) && $this->hasLegacyPersonalSettingsToRender($legacyForms)) {
354
+		if (!empty($legacyForms) && $this->hasLegacyPersonalSettingsToRender($legacyForms)) {
355 355
 			$sections[98] = [new Section('additional', $this->l->t('Additional settings'), 0, $this->url->imagePath('core', 'actions/settings-dark.svg'))];
356 356
 		}
357 357
 
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
 	 */
378 378
 	private function hasLegacyPersonalSettingsToRender(array $forms): bool {
379 379
 		foreach ($forms as $form) {
380
-			if(trim($form) !== '') {
380
+			if (trim($form) !== '') {
381 381
 				return true;
382 382
 			}
383 383
 		}
Please login to merge, or discard this patch.
lib/public/Settings/IManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	/**
37 37
 	 * @since 9.1.0
38 38
 	 */
39
-	const KEY_ADMIN_SECTION  = 'admin-section';
39
+	const KEY_ADMIN_SECTION = 'admin-section';
40 40
 
41 41
 	/**
42 42
 	 * @since 13.0.0
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	/**
47 47
 	 * @since 13.0.0
48 48
 	 */
49
-	const KEY_PERSONAL_SECTION  = 'personal-section';
49
+	const KEY_PERSONAL_SECTION = 'personal-section';
50 50
 
51 51
 	/**
52 52
 	 * @param string $type 'admin' or 'personal'
Please login to merge, or discard this patch.