1 | <?php |
||
10 | class HipChatChannel |
||
11 | { |
||
12 | /** |
||
13 | * The HipChat client instance. |
||
14 | * |
||
15 | * @var \NotificationChannels\HipChat\HipChat |
||
16 | */ |
||
17 | protected $hipChat; |
||
18 | |||
19 | /** |
||
20 | * Create a new instance of HipChatChannel. |
||
21 | * |
||
22 | * @param \NotificationChannels\HipChat\HipChat |
||
23 | */ |
||
24 | 5 | public function __construct(HipChat $hipChat) |
|
28 | |||
29 | /** |
||
30 | * Send the given notification. |
||
31 | * |
||
32 | * @param mixed $notifiable |
||
33 | * @param \Illuminate\Notifications\Notification $notification |
||
34 | * |
||
35 | * @throws \NotificationChannels\HipChat\Exceptions\CouldNotSendNotification |
||
36 | */ |
||
37 | 4 | public function send($notifiable, Notification $notification) |
|
62 | |||
63 | /** |
||
64 | * Send the HipChat notification message. |
||
65 | * |
||
66 | * @param $to |
||
67 | * @param mixed $message |
||
68 | * @return \Psr\Http\Message\ResponseInterface |
||
69 | */ |
||
70 | 2 | protected function sendMessage($to, $message) |
|
80 | } |
||
81 |
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.