| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class SendWelcomeEmail extends Notification |
||
| 12 | { |
||
| 13 | use Queueable; |
||
| 14 | |||
| 15 | protected $user; |
||
| 16 | protected $token; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Create a new notification instance |
||
| 20 | */ |
||
| 21 | 1 | public function __construct(User $user, $token) |
|
| 25 | 1 | } |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Get the notification's delivery channels |
||
| 29 | */ |
||
| 30 | 1 | public function via($notifiable) |
|
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Get the mail representation of the notification |
||
| 37 | */ |
||
| 38 | 1 | public function toMail($notifiable) |
|
| 48 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.