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