diff options
Diffstat (limited to 'apps/theming/lib/Settings/Personal.php')
-rw-r--r-- | apps/theming/lib/Settings/Personal.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/lib/Settings/Personal.php b/apps/theming/lib/Settings/Personal.php index c175416f978..f24aaa2f8f8 100644 --- a/apps/theming/lib/Settings/Personal.php +++ b/apps/theming/lib/Settings/Personal.php @@ -51,7 +51,7 @@ class Personal implements ISettings { public function getForm(): TemplateResponse { $enforcedTheme = $this->config->getSystemValueString('enforce_theme', ''); - $themes = array_map(function($theme) { + $themes = array_map(function ($theme) { return [ 'id' => $theme->getId(), 'type' => $theme->getType(), @@ -63,7 +63,7 @@ class Personal implements ISettings { }, $this->themesService->getThemes()); if ($enforcedTheme !== '') { - $themes = array_filter($themes, function($theme) use ($enforcedTheme) { + $themes = array_filter($themes, function ($theme) use ($enforcedTheme) { return $theme['type'] !== ITheme::TYPE_THEME || $theme['id'] === $enforcedTheme; }); } |