Skip to content

Commit a3901ff

Browse files
committed
Merge branch 'master' of github.com:tomatophp/filament-types
2 parents 5dc4f0e + 773ab13 commit a3901ff

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Filament/Resources/TypeResource.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class TypeResource extends Resource
1818

1919
protected static ?string $navigationIcon = 'heroicon-o-tag';
2020

21-
2221
public static function getTranslatableLocales(): array
2322
{
2423
return filament('filament-types')->getLocals();

src/FilamentTypesPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getId(): string
5050

5151
public function register(Panel $panel): void
5252
{
53-
if(!$panel->hasPlugin('spatie-laravel-translatable')) {
53+
if (! $panel->hasPlugin('spatie-laravel-translatable')) {
5454
$panel->plugin(
5555
SpatieLaravelTranslatablePlugin::make()
5656
->defaultLocales($this->getLocals()),

0 commit comments

Comments
 (0)