@@ -308,7 +308,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -36,7 +36,7 @@ discard block |
||
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 |
||
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' |