diff --git a/app/Filament/Resources/UserResource.php b/app/Filament/Resources/UserResource.php index e3b5166..d1a010f 100644 --- a/app/Filament/Resources/UserResource.php +++ b/app/Filament/Resources/UserResource.php @@ -57,15 +57,15 @@ public static function form(Form $form): Form ->hiddenLabel() ->columns() ->schema([ - TextInput::make('name')->required(), - TextInput::make('email')->email()->required(), - TextInput::make('password') - ->dehydrateStateUsing(fn($state) => Hash::make($state)) - ->password() - ->revealable() - ->revealable() - ->maxLength(255), - ]) + TextInput::make('name')->required(), + TextInput::make('email')->email()->required(), + TextInput::make('password') + ->dehydrateStateUsing(fn ($state) => Hash::make($state)) + ->password() + ->revealable() + ->revealable() + ->maxLength(255), + ]), ]); } @@ -79,7 +79,7 @@ public static function table(Table $table): Table TextColumn::make('name') ->sortable() ->toggleable() - ->description(fn(User $record) => $record->email) + ->description(fn (User $record) => $record->email) ->searchable(), IconColumn::make('email_verified_at') ->boolean() @@ -98,9 +98,9 @@ public static function table(Table $table): Table ]) ->filters([ Filter::make('verified') - ->query(fn(Builder $query): Builder => $query->whereNotNull('email_verified_at')), + ->query(fn (Builder $query): Builder => $query->whereNotNull('email_verified_at')), Filter::make('unverified') - ->query(fn(Builder $query): Builder => $query->whereNull('email_verified_at')), + ->query(fn (Builder $query): Builder => $query->whereNull('email_verified_at')), ]); } diff --git a/database/migrations/2024_01_23_150122_create_navigations_table.php b/database/migrations/2024_01_23_150122_create_navigations_table.php index 31e2051..aec811f 100644 --- a/database/migrations/2024_01_23_150122_create_navigations_table.php +++ b/database/migrations/2024_01_23_150122_create_navigations_table.php @@ -13,7 +13,7 @@ */ public function up() { - if (!Schema::hasTable('navigations')) { + if (! Schema::hasTable('navigations')) { Schema::create('navigations', function (Blueprint $table) { $table->id(); $table->string('name');