1 | <?php |
||
10 | class MobilyWsChannel |
||
11 | { |
||
12 | /** @var MobilyWsApi */ |
||
13 | private $api; |
||
14 | |||
15 | /** @var Dispatcher */ |
||
16 | private $events; |
||
17 | |||
18 | /** |
||
19 | * MobilyWsChannel constructor. |
||
20 | * |
||
21 | * @param MobilyWsApi $mobilyWs |
||
22 | * @param \Illuminate\Events\Dispatcher $events |
||
23 | */ |
||
24 | 7 | public function __construct(MobilyWsApi $mobilyWs, Dispatcher $events) |
|
29 | |||
30 | /** |
||
31 | * Send the given notification. |
||
32 | * |
||
33 | * @param mixed $notifiable |
||
34 | * @param Notification $notification |
||
35 | * |
||
36 | * @return string |
||
37 | * |
||
38 | * @throws \NotificationChannels\MobilyWs\Exceptions\CouldNotSendMobilyWsNotification |
||
39 | */ |
||
40 | 7 | public function send($notifiable, Notification $notification) |
|
60 | |||
61 | /** |
||
62 | * @param $message |
||
63 | * @param $number |
||
64 | * |
||
65 | * @return array |
||
66 | * |
||
67 | * @throws CouldNotSendMobilyWsNotification |
||
68 | */ |
||
69 | 6 | private function dispatchRequest($message, $number) |
|
88 | } |
||
89 |
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.