chore: fix code style

This commit is contained in:
danharrin
2023-07-01 14:27:59 +00:00
committed by github-actions[bot]
parent 6cca67d9b7
commit 9f63990ee8
+4 -4
View File
@@ -435,7 +435,7 @@ class Forms extends Component implements HasForms
->options([
'draft' => 'Draft',
'scheduled' => 'Scheduled',
'published' => 'Published'
'published' => 'Published',
])
->default('draft'),
]),
@@ -450,12 +450,12 @@ class Forms extends Component implements HasForms
->options([
'draft' => 'Draft',
'scheduled' => 'Scheduled',
'published' => 'Published'
'published' => 'Published',
])
->descriptions([
'draft' => 'Is not visible.',
'scheduled' => 'Will be visible.',
'published' => 'Is visible.'
'published' => 'Is visible.',
])
->default('draft'),
]),
@@ -493,7 +493,7 @@ class Forms extends Component implements HasForms
->options([
'draft' => 'Draft',
'scheduled' => 'Scheduled',
'published' => 'Published'
'published' => 'Published',
])
->default('draft')
->disableOptionWhen(fn (string $value): bool => $value === 'published'),