| 1 | <?php |
||
| 12 | class WebhookChannel |
||
| 13 | { |
||
| 14 | /** @var Client */ |
||
| 15 | protected $client; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param Client $client |
||
| 19 | */ |
||
| 20 | public function __construct(Client $client) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Send the given notification. |
||
| 27 | * |
||
| 28 | * @param mixed $notifiable |
||
| 29 | * @param \Illuminate\Notifications\Notification $notification |
||
| 30 | * |
||
| 31 | * @throws \NotificationChannels\Webhook\Exceptions\CouldNotSendNotification |
||
| 32 | */ |
||
| 33 | public function send($notifiable, Notification $notification) |
||
| 51 | } |
||
| 52 |
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.