@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | $form = new Personal\ServerDevNotice(); |
307 | 307 | $forms[$form->getPriority()] = [$form]; |
308 | 308 | } |
309 | - if($section === 'security') { |
|
309 | + if ($section === 'security') { |
|
310 | 310 | /** @var ISettings $form */ |
311 | 311 | $form = new Personal\Security(); |
312 | 312 | $forms[$form->getPriority()] = [$form]; |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | ]; |
350 | 350 | |
351 | 351 | $legacyForms = \OC_App::getForms('personal'); |
352 | - if(!empty($legacyForms) && $this->hasLegacyPersonalSettingsToRender($legacyForms)) { |
|
352 | + if (!empty($legacyForms) && $this->hasLegacyPersonalSettingsToRender($legacyForms)) { |
|
353 | 353 | $sections[98] = [new Section('additional', $this->l->t('Additional settings'), 0, $this->url->imagePath('core', 'actions/settings-dark.svg'))]; |
354 | 354 | } |
355 | 355 | |
@@ -375,7 +375,7 @@ discard block |
||
375 | 375 | */ |
376 | 376 | private function hasLegacyPersonalSettingsToRender(array $forms): bool { |
377 | 377 | foreach ($forms as $form) { |
378 | - if(trim($form) !== '') { |
|
378 | + if (trim($form) !== '') { |
|
379 | 379 | return true; |
380 | 380 | } |
381 | 381 | } |