1 | <?php |
||
11 | class Notification extends IlluminateNotification |
||
12 | { |
||
13 | /** @var \Illuminate\Queue\Events\JobFailed */ |
||
14 | protected $event; |
||
15 | |||
16 | public function via($notifiable): array |
||
20 | |||
21 | public function setEvent(JobFailed $event): self |
||
27 | |||
28 | /** |
||
29 | * Get the mail representation of the notification. |
||
30 | * |
||
31 | * @param mixed $notifiable |
||
32 | * |
||
33 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
34 | */ |
||
35 | public function toMail($notifiable): MailMessage |
||
45 | |||
46 | /** |
||
47 | * Get the Slack representation of the notification. |
||
48 | * |
||
49 | * @param mixed $notifiable |
||
50 | * |
||
51 | * @return \Illuminate\Notifications\Messages\SlackMessage |
||
52 | */ |
||
53 | public function toSlack($notifiable): SlackMessage |
||
67 | } |
||
68 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.