Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
52 | public function toMail(mixed $notifiable): MailMessage |
||
53 | { |
||
54 | return (new MailMessage()) |
||
55 | ->line('You received this email because we received a password reset request for your account.') |
||
56 | ->line('If you have not requested a password reset, no further action is required ' . |
||
57 | 'and you can ignore this email.') |
||
58 | ->action( |
||
59 | 'Reset my Password', |
||
60 | url(config('app.url') . route('auth.password.reset', $this->token, false)) |
||
61 | ) |
||
62 | ->level('primary') |
||
63 | ->subject('Password Reset - ' . config('app.name')) |
||
64 | ->from(config('xetaravel.site.contact_email'), config('app.name')); |
||
65 | } |
||
67 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.