| 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 | 4 | 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 | 3 | public function send($notifiable, Notification $notification) |
|
| 53 | |||
| 54 | protected function fireFailedEvent($notifiable, $notification, $message) |
||
| 60 | } |
||
| 61 |
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.