| 1 | <?php | ||
| 9 | class TodoistChannel | ||
| 10 | { | ||
| 11 | const API_ENDPOINT = 'https://todoist.com/API/v7/sync'; | ||
| 12 | |||
| 13 | /** @var Client */ | ||
| 14 | protected $client; | ||
| 15 | |||
| 16 | /** | ||
| 17 | * @param Client $client | ||
| 18 | */ | ||
| 19 | 2 | public function __construct(Client $client) | |
| 23 | |||
| 24 | /** | ||
| 25 | * Send the given notification. | ||
| 26 | * | ||
| 27 | * @param mixed $notifiable | ||
| 28 | * @param \Illuminate\Notifications\Notification $notification | ||
| 29 | * | ||
| 30 | * @throws \NotificationChannels\Todoist\Exceptions\CouldNotSendNotification | ||
| 31 | */ | ||
| 32 | 2 | 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.