mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Replace another ::getName()
This commit is contained in:
@@ -5,11 +5,12 @@ namespace Filament\Tests\Tables;
|
||||
use Filament\Tests\Tables\Fixtures\PostsTable;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Livewire\Livewire;
|
||||
use Livewire\Mechanisms\ComponentRegistry;
|
||||
|
||||
class TablesServiceProvider extends ServiceProvider
|
||||
{
|
||||
public function boot(): void
|
||||
{
|
||||
Livewire::component(PostsTable::getName(), PostsTable::class);
|
||||
Livewire::component(app(ComponentRegistry::class)->getName(PostsTable::class), PostsTable::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user