fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
@@ -28,23 +28,21 @@ class PreferencesOptionsService
public function normalizeStyle(?string $style): ?string
{
if (! $style) {
if (!$style) {
return null;
}
$style = trim($style);
return in_array($style, $this->styleOptions(), true) ? $style : null;
}
public function normalizeMenu(?string $menu): ?string
{
if (! $menu) {
if (!$menu) {
return null;
}
$menu = trim($menu);
return in_array($menu, $this->menuOptions(), true) ? $menu : null;
}
}