Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa authored and github-actions[bot] committed Aug 23, 2024
1 parent 4ec48d0 commit e65527e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Pages/TwoFactor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -223,4 +224,4 @@ public function regenerateRecoveryCodes(GenerateNewRecoveryCodes $generate): voi

$this->showingRecoveryCodes = true;
}
}
}

0 comments on commit e65527e

Please sign in to comment.