1 | <?php |
||
11 | class InfobipChannel |
||
12 | { |
||
13 | /** |
||
14 | * @var Dispatcher |
||
15 | */ |
||
16 | public $events; |
||
17 | |||
18 | /** |
||
19 | * @var Infobip |
||
20 | */ |
||
21 | public $infobip; |
||
22 | |||
23 | /** |
||
24 | * InfobipChannel constructor. |
||
25 | * |
||
26 | * @param Infobip $infobip |
||
27 | * @param Dispatcher $events |
||
28 | */ |
||
29 | public function __construct(Infobip $infobip, Dispatcher $events) |
||
34 | |||
35 | /** |
||
36 | * Send the given notification. |
||
37 | * |
||
38 | * @param mixed $notifiable |
||
39 | * @param \Illuminate\Notifications\Notification $notification |
||
40 | * |
||
41 | * @throws \NotificationChannels\Infobip\Exceptions\CouldNotSendNotification |
||
42 | */ |
||
43 | public function send($notifiable, Notification $notification) |
||
57 | |||
58 | /** |
||
59 | * Get message recipient. |
||
60 | * |
||
61 | * @param $notifiable |
||
62 | * @return mixed |
||
63 | * @throws CouldNotSendNotification |
||
64 | */ |
||
65 | public function getRecipient($notifiable) |
||
73 | } |
||
74 |
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.