Skip to content

Commit 6959170

Browse files
CodeWithDennisgithub-actions[bot]
authored andcommittedOct 11, 2023
Fix styling
1 parent f730f86 commit 6959170

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/FactoryAction.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static function getDefaultName(): ?string
1313
return 'generate';
1414
}
1515

16-
public function action(Closure|string|null $action): static
16+
public function action(Closure | string | null $action): static
1717
{
1818
if ($action !== 'createFactory') {
1919
throw new \Exception('You\'re unable to override the action for this plugin');
@@ -24,7 +24,7 @@ public function action(Closure|string|null $action): static
2424
return $this;
2525
}
2626

27-
public function form(array|Closure|null $form): static
27+
public function form(array | Closure | null $form): static
2828
{
2929
$this->form = $this->getDefaultForm();
3030

@@ -48,13 +48,13 @@ protected function setUp(): void
4848

4949
$this->icon('heroicon-o-cog-8-tooth')
5050
->color('warning')
51-
->hidden(fn() => app()->isProduction())
51+
->hidden(fn () => app()->isProduction())
5252
->form($this->getDefaultForm())
5353
->modalIcon('heroicon-o-cog-8-tooth')
5454
->color('success')
5555
->modalWidth('md')
5656
->modalAlignment('center')
57-
->modalHeading(fn($livewire) => __('Generate ' . ucfirst($livewire->getTable()->getPluralModelLabel())))
57+
->modalHeading(fn ($livewire) => __('Generate ' . ucfirst($livewire->getTable()->getPluralModelLabel())))
5858
->modalDescription(__('This action will create new records in the database. Are you sure you would like to proceed?'))
5959
->modalFooterActionsAlignment('right')
6060
->action('createFactory');

0 commit comments

Comments
 (0)
Please sign in to comment.