diff --git a/src/Filament/Resources/TypeResource.php b/src/Filament/Resources/TypeResource.php index 82fddaa..b6598f8 100644 --- a/src/Filament/Resources/TypeResource.php +++ b/src/Filament/Resources/TypeResource.php @@ -18,7 +18,6 @@ class TypeResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-tag'; - public static function getTranslatableLocales(): array { return filament('filament-types')->getLocals(); diff --git a/src/FilamentTypesPlugin.php b/src/FilamentTypesPlugin.php index 94f8982..5699286 100644 --- a/src/FilamentTypesPlugin.php +++ b/src/FilamentTypesPlugin.php @@ -50,7 +50,7 @@ public function getId(): string public function register(Panel $panel): void { - if(!$panel->hasPlugin('spatie-laravel-translatable')) { + if (! $panel->hasPlugin('spatie-laravel-translatable')) { $panel->plugin( SpatieLaravelTranslatablePlugin::make() ->defaultLocales($this->getLocals()),