Skip to content

Commit 59fae8c

Browse files
committed
Merge branch 'lloricode-patch-1' into develop
2 parents d2424ee + 169ced5 commit 59fae8c

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

src/LaravelLivewireTablesServiceProvider.php

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,6 @@ public function bootingPackage(): void
3333
Blade::component('livewire-tables::bootstrap-5.components.table.heading', 'livewire-tables::bs5.table.heading');
3434
Blade::component('livewire-tables::bootstrap-5.components.table.row', 'livewire-tables::bs5.table.row');
3535
Blade::component('livewire-tables::bootstrap-5.components.table.cell', 'livewire-tables::bs5.table.cell');
36-
37-
$this->registerCommands();
38-
}
39-
40-
protected function registerCommands(): void
41-
{
42-
if (! $this->app->runningInConsole()) {
43-
return;
44-
}
45-
46-
$this->commands([
47-
MakeCommand::class,
48-
]);
4936
}
5037

5138
/**
@@ -57,6 +44,7 @@ public function configurePackage(Package $package): void
5744
->name('laravel-livewire-tables')
5845
->hasConfigFile()
5946
->hasViews()
60-
->hasTranslations();
47+
->hasTranslations()
48+
->hasCommand(MakeCommand::class);
6149
}
6250
}

0 commit comments

Comments
 (0)