| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | public function toMail($notifiable) |
||
| 46 | { |
||
| 47 | $message = new MailMessage(); |
||
| 48 | $message |
||
| 49 | ->from(config('laravel2step.verificationEmailFrom'), config('laravel2step.verificationEmailFromName')) |
||
| 50 | ->subject(trans('laravel2step::laravel-verification.verificationEmailSubject')) |
||
| 51 | ->greeting(trans('laravel2step::laravel-verification.verificationEmailGreeting', ['username' => $this->user->name])) |
||
| 52 | ->line(trans('laravel2step::laravel-verification.verificationEmailMessage')) |
||
| 53 | ->line($this->code) |
||
| 54 | ->action(trans('laravel2step::laravel-verification.verificationEmailButton'), route('laravel2step::verificationNeeded')); |
||
| 55 | |||
| 56 | return $message; |
||
| 57 | } |
||
| 59 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.