summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Controller/PersonalSettingsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/lib/Controller/PersonalSettingsController.php')
-rw-r--r--apps/settings/lib/Controller/PersonalSettingsController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/settings/lib/Controller/PersonalSettingsController.php b/apps/settings/lib/Controller/PersonalSettingsController.php
index 18719a85652..12d8af3af17 100644
--- a/apps/settings/lib/Controller/PersonalSettingsController.php
+++ b/apps/settings/lib/Controller/PersonalSettingsController.php
@@ -94,15 +94,15 @@ class PersonalSettingsController extends Controller {
$anchor = strtolower($sectionName);
$anchor = str_replace(' ', '-', $anchor);
- return array(
+ return [
'anchor' => $anchor,
'section-name' => $sectionName,
'form' => $form
- );
+ ];
}
- return array(
+ return [
'form' => $form
- );
+ ];
}, $forms);
$out = new Template('settings', 'settings/additional');