Replace another ::getName()

This commit is contained in:
Dan Harrin
2023-06-10 08:33:24 +01:00
parent 754fcdb234
commit b655a50355
+2 -1
View File
@@ -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);
}
}