| Conditions | 2 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function toMail($notifiable): MailMessage |
||
| 36 | { |
||
| 37 | return (new MailMessage()) |
||
| 38 | ->subject(trans('cortex/auth::emails.register.welcome.subject')) |
||
| 39 | ->line(config('cortex.auth.registration.moderated') |
||
| 40 | ? trans('cortex/auth::emails.register.welcome.intro_moderation') |
||
| 41 | : trans('cortex/auth::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.