| Total Complexity | 4 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class LogReportNotification extends Notification |
||
| 9 | { |
||
| 10 | |||
| 11 | public $resourceLogs; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Create a new notification instance. |
||
| 15 | * |
||
| 16 | * @return void |
||
| 17 | */ |
||
| 18 | public function __construct($resourceLogs) |
||
| 19 | { |
||
| 20 | $this->resourceLogs = $resourceLogs->resourceLogs; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Get the notification's delivery channels. |
||
| 25 | * |
||
| 26 | * @param mixed $notifiable |
||
| 27 | * @return array |
||
| 28 | */ |
||
| 29 | public function via($notifiable) |
||
|
|
|||
| 30 | { |
||
| 31 | return ['mail']; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get the mail representation of the notification. |
||
| 36 | * |
||
| 37 | * @param mixed $notifiable |
||
| 38 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
| 39 | */ |
||
| 40 | public function toMail($notifiable) |
||
| 46 | ]); |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Get the array representation of the notification. |
||
| 51 | * |
||
| 52 | * @param mixed $notifiable |
||
| 53 | * @return array |
||
| 54 | */ |
||
| 55 | public function toArray($notifiable) |
||
| 58 | // |
||
| 59 | ]; |
||
| 60 | } |
||
| 62 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.