Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | 1 | public function toMail(User $user): MailMessage |
|
|
|||
23 | { |
||
24 | 1 | return (new MailMessage()) |
|
25 | 1 | ->subject('Email address update request') |
|
26 | 1 | ->line('You are receiving this email because you\'ve requested to change your email address.') |
|
27 | 1 | ->line('Sadly, you already have an account with this email address in place and we are unable change it.'); |
|
28 | } |
||
30 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.