mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Add PHP type hints
This commit is contained in:
@@ -42,7 +42,7 @@ class AccountWillExpire extends Mailable
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function build()
|
||||
public function build(): static
|
||||
{
|
||||
return $this->from($this->siteEmail)->subject('Account about to expire')->view('emails.accountAboutToExpire')->with(['account' => $this->user->role->name, 'username' => $this->user->username, 'site' => $this->siteTitle, 'days' => $this->days]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user