| 1 | <?php |
||
| 10 | class MessagebirdChannel |
||
| 11 | { |
||
| 12 | /** @var \NotificationChannels\Messagebird\MessagebirdClient */ |
||
| 13 | protected $client; |
||
| 14 | private $dispatcher; |
||
| 15 | |||
| 16 | 3 | public function __construct(MessagebirdClient $client, Dispatcher $dispatcher = null) |
|
| 21 | |||
| 22 | /** |
||
| 23 | * Send the given notification. |
||
| 24 | * |
||
| 25 | * @param mixed $notifiable |
||
| 26 | * @param \Illuminate\Notifications\Notification $notification |
||
| 27 | * |
||
| 28 | * @return array |
||
| 29 | * @throws \NotificationChannels\MessageBird\Exceptions\CouldNotSendNotification |
||
| 30 | */ |
||
| 31 | 2 | public function send($notifiable, Notification $notification) |
|
| 64 | } |
||
| 65 |
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.