Fix Pint formatting
This commit is contained in:
@@ -28,21 +28,23 @@ 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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user