File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public static function getDefaultName(): ?string
13
13
return 'generate ' ;
14
14
}
15
15
16
- public function action (Closure | string | null $ action ): static
16
+ public function action (Closure | string | null $ action ): static
17
17
{
18
18
if ($ action !== 'createFactory ' ) {
19
19
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
24
24
return $ this ;
25
25
}
26
26
27
- public function form (array | Closure | null $ form ): static
27
+ public function form (array | Closure | null $ form ): static
28
28
{
29
29
$ this ->form = $ this ->getDefaultForm ();
30
30
@@ -48,13 +48,13 @@ protected function setUp(): void
48
48
49
49
$ this ->icon ('heroicon-o-cog-8-tooth ' )
50
50
->color ('warning ' )
51
- ->hidden (fn () => app ()->isProduction ())
51
+ ->hidden (fn () => app ()->isProduction ())
52
52
->form ($ this ->getDefaultForm ())
53
53
->modalIcon ('heroicon-o-cog-8-tooth ' )
54
54
->color ('success ' )
55
55
->modalWidth ('md ' )
56
56
->modalAlignment ('center ' )
57
- ->modalHeading (fn ($ livewire ) => __ ('Generate ' . ucfirst ($ livewire ->getTable ()->getPluralModelLabel ())))
57
+ ->modalHeading (fn ($ livewire ) => __ ('Generate ' . ucfirst ($ livewire ->getTable ()->getPluralModelLabel ())))
58
58
->modalDescription (__ ('This action will create new records in the database. Are you sure you would like to proceed? ' ))
59
59
->modalFooterActionsAlignment ('right ' )
60
60
->action ('createFactory ' );
You can’t perform that action at this time.
0 commit comments