chore: code refactor via rector
This commit is contained in:
@@ -50,7 +50,7 @@ class ResetPassword extends Component
|
||||
// database. Otherwise we will parse the error and return the response.
|
||||
$status = Password::reset(
|
||||
$this->only('email', 'password', 'password_confirmation', 'token'),
|
||||
function ($user) {
|
||||
function ($user): void {
|
||||
$user->forceFill([
|
||||
'password' => Hash::make($this->password),
|
||||
'remember_token' => Str::random(60),
|
||||
|
||||
Reference in New Issue
Block a user