diff --git a/src/Actions/DeeplBulkTranslatableAction.php b/src/Actions/DeeplBulkTranslatableAction.php index dc31c66..06d3561 100644 --- a/src/Actions/DeeplBulkTranslatableAction.php +++ b/src/Actions/DeeplBulkTranslatableAction.php @@ -2,9 +2,9 @@ namespace Concept7\FilamentDeeplTranslations\Actions; -use App\Filament\Components\Select; use Concept7\FilamentDeeplTranslations\Jobs\BatchTranslateJob; use Filament\Actions\Concerns\CanCustomizeProcess; +use Filament\Forms\Components\Select; use Filament\Support\Facades\FilamentIcon; use Filament\Tables\Actions\BulkAction; use Illuminate\Database\Eloquent\Collection; diff --git a/src/Actions/DeeplTranslatableAction.php b/src/Actions/DeeplTranslatableAction.php index 438cd48..92b8e78 100644 --- a/src/Actions/DeeplTranslatableAction.php +++ b/src/Actions/DeeplTranslatableAction.php @@ -19,6 +19,7 @@ public static function make(): void ->mapWithKeys(fn (string $lang) => [$lang => $lang]) ->map(fn (string $lang) => locale_get_display_name($lang, config('app.locale'))); + /** @var \Filament\Forms\Components\Field $this */ return $this->hintAction( function (Field $component, $livewire) use ($langs) { $fieldName = $component->getName();