1 | <?php |
||
11 | class TwilioChannel |
||
12 | { |
||
13 | /** |
||
14 | * @var Twilio |
||
15 | */ |
||
16 | protected $twilio; |
||
17 | |||
18 | /** |
||
19 | * @var Dispatcher |
||
20 | */ |
||
21 | protected $events; |
||
22 | |||
23 | /** |
||
24 | * TwilioChannel constructor. |
||
25 | * |
||
26 | * @param Twilio $twilio |
||
27 | * @param Dispatcher $events |
||
28 | */ |
||
29 | 13 | public function __construct(Twilio $twilio, Dispatcher $events) |
|
34 | |||
35 | /** |
||
36 | * Send the given notification. |
||
37 | * |
||
38 | * @param mixed $notifiable |
||
39 | * @param Notification $notification |
||
40 | * |
||
41 | * @return mixed |
||
42 | * @throws Exception |
||
43 | */ |
||
44 | 13 | public function send($notifiable, Notification $notification) |
|
81 | |||
82 | /** |
||
83 | * Get the address to send a notification to. |
||
84 | * |
||
85 | * @param mixed $notifiable |
||
86 | * |
||
87 | * @return mixed |
||
88 | * @throws CouldNotSendNotification |
||
89 | */ |
||
90 | 13 | protected function getTo($notifiable) |
|
101 | |||
102 | /** |
||
103 | * Get the alphanumeric sender. |
||
104 | * |
||
105 | * @param $notifiable |
||
106 | * |
||
107 | * @return mixed|null |
||
108 | * @throws CouldNotSendNotification |
||
109 | */ |
||
110 | 12 | protected function canReceiveAlphanumericSender($notifiable) |
|
115 | } |
||
116 |
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.