1 | <?php |
||
10 | class PushoverChannel |
||
11 | { |
||
12 | /** @var Pushover */ |
||
13 | protected $pushover; |
||
14 | |||
15 | /** @var Dispatcher */ |
||
16 | protected $events; |
||
17 | |||
18 | /** |
||
19 | * Create a new Pushover channel instance. |
||
20 | * |
||
21 | * @param Pushover $pushover |
||
22 | */ |
||
23 | 6 | public function __construct(Pushover $pushover, Dispatcher $events) |
|
28 | |||
29 | /** |
||
30 | * Send the given notification. |
||
31 | * |
||
32 | * @param mixed $notifiable |
||
33 | * @param \Illuminate\Notifications\Notification $notification |
||
34 | * |
||
35 | * @throws \NotificationChannels\Pushover\Exceptions\CouldNotSendNotification |
||
36 | */ |
||
37 | 6 | public function send($notifiable, Notification $notification) |
|
55 | |||
56 | 1 | protected function fireFailedEvent($notifiable, $notification, $message) |
|
62 | } |
||
63 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.