From f785fee12b075725e41b40afc2b73350c7811ee1 Mon Sep 17 00:00:00 2001 From: Baspa Date: Fri, 23 Aug 2024 08:39:25 +0000 Subject: [PATCH] Fix styling --- src/Enums/TwoFactorType.php | 4 ++-- src/Pages/TwoFactor.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Enums/TwoFactorType.php b/src/Enums/TwoFactorType.php index 96a96d1..3641ef8 100644 --- a/src/Enums/TwoFactorType.php +++ b/src/Enums/TwoFactorType.php @@ -15,7 +15,7 @@ enum TwoFactorType: string implements HasLabel public static function values(): array { - return array_map(fn($type) => $type->getLabel(), self::cases()); + return array_map(fn ($type) => $type->getLabel(), self::cases()); } public function getLabel(): ?string @@ -26,4 +26,4 @@ public function getLabel(): ?string self::phone => __('SMS'), }; } -} \ No newline at end of file +} diff --git a/src/Pages/TwoFactor.php b/src/Pages/TwoFactor.php index a632897..0e59539 100644 --- a/src/Pages/TwoFactor.php +++ b/src/Pages/TwoFactor.php @@ -77,7 +77,7 @@ public function getConfirmationForm(): array return [ TextInput::make('current_password') ->label(__('Password')) - ->dehydrateStateUsing(fn($state) => filled($state)) + ->dehydrateStateUsing(fn ($state) => filled($state)) ->required() ->password() ->inlineLabel() @@ -229,4 +229,4 @@ public function regenerateRecoveryCodes(GenerateNewRecoveryCodes $generate): voi $this->showingRecoveryCodes = true; } -} \ No newline at end of file +}