diff --git a/src/Pages/TwoFactor.php b/src/Pages/TwoFactor.php index febb390..eb002ae 100644 --- a/src/Pages/TwoFactor.php +++ b/src/Pages/TwoFactor.php @@ -72,7 +72,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() @@ -172,8 +172,9 @@ public function disableAction(): Action }); } - /** - * This method is used in the view + /** + * This method is used in the view + * * @phpstan-ignore-next-line * */ private function showTwoFactor(): bool @@ -223,4 +224,4 @@ public function regenerateRecoveryCodes(GenerateNewRecoveryCodes $generate): voi $this->showingRecoveryCodes = true; } -} \ No newline at end of file +}