diff --git a/src/Pages/TwoFactor.php b/src/Pages/TwoFactor.php index ed7a79c..ae86263 100644 --- a/src/Pages/TwoFactor.php +++ b/src/Pages/TwoFactor.php @@ -90,7 +90,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() @@ -213,7 +213,8 @@ public function enableAction(): Action }); } - private function getConfirmableFields() + /** @return array */ + private function getConfirmableFields(): array { $confirmableOptions = config('filament-two-factor-auth.options', [ TwoFactorType::email,