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