Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class SendTestEmail extends Notification |
||
11 | { |
||
12 | use Queueable; |
||
13 | |||
14 | /** |
||
15 | * Get the notification's delivery channels |
||
16 | */ |
||
17 | public function via($notifiable) |
||
|
|||
18 | { |
||
19 | return ['mail']; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Get the mail representation of the notification |
||
24 | */ |
||
25 | public function toMail($notifiable) |
||
30 | } |
||
31 | } |
||
32 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.