Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Oct 13, 2021
1 parent 2720654 commit f48aa79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct(User $recipient, $token, $reseturl)
$this->reseturl = $reseturl;
}

public function build(): self
public function build(): static
{
return $this->view('appSection@user::user-forgotPassword')
->to($this->recipient->email, $this->recipient->name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function __construct(User $user)
$this->user = $user;
}

public function build(): self
public function build(): static
{
return $this->view('appSection@user::user-registered')
->to($this->user->email, $this->user->name)
Expand Down

0 comments on commit f48aa79

Please sign in to comment.