Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
59 | public function toMail() |
||
60 | { |
||
61 | if ($this->moderated) { |
||
62 | $phrase = Lang::get('rinvex.fort::email.verification.email.success.intro_moderation'); |
||
63 | } else { |
||
64 | $phrase = Lang::get('rinvex.fort::email.verification.email.success.intro_default'); |
||
65 | } |
||
66 | |||
67 | return (new MailMessage) |
||
68 | ->subject(Lang::get('rinvex.fort::email.verification.email.success.subject')) |
||
69 | ->line($phrase); |
||
70 | } |
||
71 | } |
||
72 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.