1 | <?php |
||
20 | final class SMSCChannel |
||
21 | { |
||
22 | /** |
||
23 | * The guzzle http client. |
||
24 | * |
||
25 | * @var SMSCClientInterface |
||
26 | */ |
||
27 | private $client; |
||
28 | |||
29 | /** |
||
30 | * The Laravel event dispatcher implementation. |
||
31 | * |
||
32 | * @var Dispatcher |
||
33 | */ |
||
34 | private $dispatcher; |
||
35 | |||
36 | /** |
||
37 | * SMSCChannel constructor. |
||
38 | * |
||
39 | * @param SMSCClientInterface $client |
||
40 | * @param Dispatcher $dispatcher |
||
41 | */ |
||
42 | public function __construct(SMSCClientInterface $client, Dispatcher $dispatcher) |
||
47 | |||
48 | /** |
||
49 | * Send the given notification. |
||
50 | * |
||
51 | * @param mixed $notifiable |
||
52 | * @param \Illuminate\Notifications\Notification $notification |
||
53 | * @throws \NotificationChannels\SMSC\Exceptions\CouldNotSendNotification |
||
54 | * @return void |
||
55 | */ |
||
56 | public function send($notifiable, Notification $notification) |
||
79 | |||
80 | /** |
||
81 | * Send the message. |
||
82 | * |
||
83 | * @return SMSCApiResponseInterface |
||
84 | */ |
||
85 | private function sendMessage() |
||
91 | |||
92 | /** |
||
93 | * Fire the sending event for the prepared message. |
||
94 | * |
||
95 | * @param SMSCMessage $message |
||
96 | */ |
||
97 | private function fireSendingEvent(SMSCMessage $message) |
||
101 | |||
102 | /** |
||
103 | * Fire the sent event for the message. |
||
104 | * |
||
105 | * @param SMSCMessage $message |
||
106 | * @param SMSCApiResponseInterface $response |
||
107 | */ |
||
108 | private function fireSentEvent(SMSCMessage $message, SMSCApiResponseInterface $response) |
||
112 | } |
||
113 |
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.