From ec70460549eec55ea93603a25dc36afd1576e780 Mon Sep 17 00:00:00 2001 From: 3x1io <3x1io@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:00:41 +0000 Subject: [PATCH] Format Code --- config/filament-users.php | 11 +++++------ src/Resources/UserResource.php | 3 --- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/config/filament-users.php b/config/filament-users.php index 709812c..883b564 100644 --- a/config/filament-users.php +++ b/config/filament-users.php @@ -75,7 +75,6 @@ */ 'roles_model' => \Spatie\Permission\Models\Role::class, - /** * --------------------------------------------- * Resource Building @@ -90,16 +89,16 @@ 'bulkActions' => \TomatoPHP\FilamentUsers\Resources\UserResource\Table\UserBulkActions::class, ], 'form' => [ - 'class' => \TomatoPHP\FilamentUsers\Resources\UserResource\Form\UserForm::class + 'class' => \TomatoPHP\FilamentUsers\Resources\UserResource\Form\UserForm::class, ], 'infolist' => [ - 'class' => \TomatoPHP\FilamentUsers\Resources\UserResource\InfoList\UserInfoList::class + 'class' => \TomatoPHP\FilamentUsers\Resources\UserResource\InfoList\UserInfoList::class, ], 'pages' => [ 'list' => \TomatoPHP\FilamentUsers\Resources\UserResource\Actions\ManageUserActions::class, 'create' => \TomatoPHP\FilamentUsers\Resources\UserResource\Actions\CreatePageActions::class, 'edit' => \TomatoPHP\FilamentUsers\Resources\UserResource\Actions\EditPageActions::class, - 'delete' => \TomatoPHP\FilamentUsers\Resources\UserResource\Actions\ViewPageActions::class - ] - ] + 'delete' => \TomatoPHP\FilamentUsers\Resources\UserResource\Actions\ViewPageActions::class, + ], + ], ]; diff --git a/src/Resources/UserResource.php b/src/Resources/UserResource.php index dff5b33..5560079 100644 --- a/src/Resources/UserResource.php +++ b/src/Resources/UserResource.php @@ -10,10 +10,7 @@ use Filament\Resources\Resource; use Filament\Tables\Table; use TomatoPHP\FilamentUsers\Facades\FilamentUser; -use TomatoPHP\FilamentUsers\Resources\UserResource\Form\UserForm; -use TomatoPHP\FilamentUsers\Resources\UserResource\Infolist\UserInfoList; use TomatoPHP\FilamentUsers\Resources\UserResource\Pages; -use TomatoPHP\FilamentUsers\Resources\UserResource\Table\UserTable; class UserResource extends Resource {