| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function toMail(mixed $notifiable) |
||
| 42 | { |
||
| 43 | $baseUrl = env('APP_URL'); |
||
| 44 | $url = $baseUrl.'/verify?token='.$this->token; |
||
| 45 | $message = new MailMessage(); |
||
| 46 | $message->subject(trans('emails.activationSubject')) |
||
| 47 | ->greeting(trans('emails.activationGreeting')) |
||
| 48 | ->line(trans('emails.activationMessage')) |
||
| 49 | ->action(trans('emails.activationButton'), $url) |
||
| 50 | ->line($this->token) |
||
| 51 | ->line(trans('emails.activationThanks')); |
||
| 52 | |||
| 53 | return $message; |
||
| 54 | } |
||
| 68 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.