1 | <?php |
||
12 | class ZendeskChannel |
||
13 | { |
||
14 | /** @var HttpClient */ |
||
15 | protected $client; |
||
16 | |||
17 | /** @var array */ |
||
18 | protected $parameters; |
||
19 | |||
20 | /** @param HttpClient $client */ |
||
21 | 1 | public function __construct(HttpClient $client) |
|
25 | |||
26 | /** |
||
27 | * Send the given notification. |
||
28 | * |
||
29 | * @param mixed $notifiable |
||
30 | * @param \Illuminate\Notifications\Notification $notification |
||
31 | * |
||
32 | * @throws \NotificationChannels\Zendesk\Exceptions\InvalidConfiguration |
||
33 | * @throws \NotificationChannels\Zendesk\Exceptions\CouldNotSendNotification |
||
34 | */ |
||
35 | 1 | public function send($notifiable, Notification $notification) |
|
47 | |||
48 | /** |
||
49 | * Prepare the parameters before to be send. |
||
50 | * |
||
51 | * @param mixed $notifiable |
||
52 | */ |
||
53 | 1 | private function prepareParameter($notifiable) |
|
66 | } |
||
67 |
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.