add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 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;
}
}