Conditions | 2 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
35 | public function toMail($notifiable): MailMessage |
||
36 | { |
||
37 | return (new MailMessage()) |
||
38 | ->subject(trans('cortex/fort::emails.register.welcome.subject')) |
||
39 | ->line(config('rinvex.fort.registration.moderated') |
||
40 | ? trans('cortex/fort::emails.register.welcome.intro_moderation') |
||
41 | : trans('cortex/fort::emails.register.welcome.intro_default') |
||
42 | ); |
||
43 | } |
||
44 | } |
||
45 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.