Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | 1 | public function toMail($notifiable) |
|
39 | { |
||
40 | 1 | return (new MailMessage) |
|
41 | 1 | ->greeting('Hello '.$this->user->full_name) |
|
42 | 1 | ->line('A new '.config('app.name').' account has been created for you.') |
|
43 | 1 | ->line('Your new username is: **'.$this->user->username.'**') |
|
44 | 1 | ->line('You can click the link below to finish setting up your account.') |
|
45 | 1 | ->action('Setup Account', url(route('initialize', $this->token))); |
|
46 | } |
||
48 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.