Skip to content

Commit b4ca8e6

Browse files
mhortulanusgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 78ae31b commit b4ca8e6

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/Concerns/HasBackstageManagement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
trait HasBackstageManagement
1010
{
11+
use CanResetPassword;
1112
use Concerns\Conditionals\HasConditionals;
1213
use Concerns\Relations\HasRelations;
13-
use Concerns\Scopes\HasScopes;
1414

15+
use Concerns\Scopes\HasScopes;
1516
// Illuminate contracts:
1617
use Notifiable;
17-
use CanResetPassword;
1818
}

src/Resources/UserResource.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
use Backstage\UserManagement\Exports\UserExporter;
66
use Backstage\UserManagement\Imports\UserImporter;
7-
use Backstage\UserManagement\Widgets\StatsOverviewWidget;
87
use Backstage\UserManagement\Resources\UserResource\Pages;
8+
use Backstage\UserManagement\Widgets\StatsOverviewWidget;
99
use Filament\Facades\Filament;
1010
use Filament\Forms;
1111
use Filament\Forms\Form;
@@ -44,8 +44,8 @@ public static function form(Form $form): Form
4444
->revealable(Filament::arePasswordsRevealable())
4545
->rule(Password::default())
4646
->autocomplete('new-password')
47-
->dehydrated(fn($state): bool => filled($state))
48-
->dehydrateStateUsing(fn($state): string => Hash::make($state))
47+
->dehydrated(fn ($state): bool => filled($state))
48+
->dehydrateStateUsing(fn ($state): string => Hash::make($state))
4949
->live(debounce: 500),
5050
]);
5151
}
@@ -112,7 +112,7 @@ public static function getPages(): array
112112
public static function getWidgets(): array
113113
{
114114
return [
115-
StatsOverviewWidget::class
115+
StatsOverviewWidget::class,
116116
];
117117
}
118118
}

src/Resources/UserResource/Pages/ViewUser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ protected function getHeaderActions(): array
2121
return [
2222
Actions\ActionGroup::make([
2323
Actions\Action::make('send_verify_user_email')
24-
->visible(fn($record) => $record->isVerified() === false)
24+
->visible(fn ($record) => $record->isVerified() === false)
2525
->label(__('Send Verification Email'))
2626
->action(function ($record) {
2727
$notification = new VerifyEmail;
@@ -40,6 +40,7 @@ protected function getHeaderActions(): array
4040
$user = $this->record;
4141
/**
4242
* Broker
43+
*
4344
* @var \Illuminate\Auth\Passwords\PasswordBroker $broker
4445
*/
4546
$broker = app('auth.password.broker');
@@ -56,7 +57,6 @@ protected function getHeaderActions(): array
5657
->icon(false)
5758
->dropdownPlacement('bottom'),
5859

59-
6060
Actions\EditAction::make(),
6161
];
6262
}

0 commit comments

Comments
 (0)