| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 51 | public function toMail($notifiable) |
||
| 52 | { |
||
| 53 | return (new MailMessage) |
||
| 54 | ->line('You are receiving this email because we received a password reset request for your account.') |
||
| 55 | ->line('If you did not request a password reset, no further action is required.') |
||
| 56 | ->action('Reset Password', url(config('app.url') . route('users.auth.password.reset', $this->token, false))) |
||
| 57 | ->level('primary') |
||
| 58 | ->subject('Reset Password - ' . config('app.name')); |
||
| 59 | } |
||
| 60 | } |
||
| 61 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.