Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
daurensky authored and github-actions[bot] committed Feb 12, 2024
1 parent 3cb5356 commit 30c0a93
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/FilamentPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace AdminKit\Localizations;

use Filament\Panel;
use Filament\Contracts\Plugin;
use AdminKit\Localizations\UI\Filament\Resources\LocalizationResource;
use Filament\Contracts\Plugin;
use Filament\Panel;

class FilamentPlugin implements Plugin
{
Expand Down
6 changes: 3 additions & 3 deletions src/LocalizationsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace AdminKit\Localizations;

use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use AdminKit\Localizations\Commands\LocalizationsCommand;
use AdminKit\Localizations\Providers\RouteServiceProvider;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

class LocalizationsServiceProvider extends PackageServiceProvider
{
Expand Down Expand Up @@ -34,7 +34,7 @@ public function registeringPackage()

protected function registerConfigs(): self
{
$this->mergeConfigFrom(__DIR__ . '/../config/filesystems_disks.php', 'filesystems.disks');
$this->mergeConfigFrom(__DIR__.'/../config/filesystems_disks.php', 'filesystems.disks');

return $this;
}
Expand Down
14 changes: 7 additions & 7 deletions src/UI/Filament/Resources/LocalizationResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

namespace AdminKit\Localizations\UI\Filament\Resources;

use Filament\Forms;
use Filament\Tables;
use Filament\Forms\Form;
use Filament\Tables\Table;
use Filament\Resources\Resource;
use AdminKit\Core\Facades\AdminKit;
use Filament\Tables\Columns\TextColumn;
use AdminKit\Localizations\Models\Localization;
use AdminKit\Localizations\UI\Filament\Resources\LocalizationResource\Pages;
use AdminKit\Localizations\UI\Filament\Resources\Widgets\LocalizationInformer;
use Filament\Forms;
use Filament\Forms\Form;
use Filament\Resources\Resource;
use Filament\Tables;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Table;

class LocalizationResource extends Resource
{
Expand Down Expand Up @@ -46,7 +46,7 @@ public static function table(Table $table): Table
$columns = [];
foreach (AdminKit::locales() as $locale) {
$columns[] = Tables\Columns\TextColumn::make("content.$locale")
->getStateUsing(fn(Localization $record) => $record->getTranslation('content', $locale))
->getStateUsing(fn (Localization $record) => $record->getTranslation('content', $locale))
->label($locale)
->wrap();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
use AdminKit\Localizations\Models\Localization;
use AdminKit\Localizations\UI\Filament\Resources\LocalizationResource;
use AdminKit\Localizations\UI\Filament\Resources\Widgets\LocalizationInformer;
use Filament\Notifications\Notification;
use Filament\Actions;
use Filament\Notifications\Notification;
use Filament\Resources\Pages\ListRecords;
use Illuminate\Support\Facades\File;

Expand Down

0 comments on commit 30c0a93

Please sign in to comment.