| Total Complexity | 4 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class UnsubscribeSuccessfully extends Notification |
||
| 10 | { |
||
| 11 | use Queueable; |
||
| 12 | |||
| 13 | protected $plan; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Create a new notification instance. |
||
| 17 | * |
||
| 18 | * @return void |
||
| 19 | */ |
||
| 20 | public function __construct($plan_id) |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get the notification's delivery channels. |
||
| 28 | * |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | public function via(mixed $notifiable) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Get the mail representation of the notification. |
||
| 38 | * |
||
| 39 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
| 40 | */ |
||
| 41 | public function toMail(mixed $notifiable) |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Get the array representation of the notification. |
||
| 52 | * |
||
| 53 | * @return array |
||
| 54 | */ |
||
| 55 | public function toArray(mixed $notifiable) |
||
| 62 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.