1 | <?php |
||
12 | class TrelloChannel |
||
13 | { |
||
14 | const API_ENDPOINT = 'https://api.trello.com/1/cards/'; |
||
15 | |||
16 | /** @var Client */ |
||
17 | protected $client; |
||
18 | |||
19 | /** @var key trello key */ |
||
20 | protected $key; |
||
21 | |||
22 | /** @param Client $client */ |
||
23 | public function __construct(Client $client) |
||
28 | |||
29 | /** |
||
30 | * Send the given notification. |
||
31 | * |
||
32 | * @param mixed $notifiable |
||
33 | * @param \Illuminate\Notifications\Notification $notification |
||
34 | * |
||
35 | * @throws \NotificationChannels\Trello\Exceptions\InvalidConfiguration |
||
36 | * @throws \NotificationChannels\Trello\Exceptions\CouldNotSendNotification |
||
37 | * @throws \NotificationChannels\Trello\Exceptions\CouldAddComment |
||
38 | */ |
||
39 | public function send($notifiable, Notification $notification) |
||
64 | |||
65 | /** |
||
66 | * Add comments to newly created card. |
||
67 | * @param mixed $notifiable |
||
68 | * @param array $trelloCardComments array holding the comments to add |
||
69 | * @param Response $response response object from the trello api |
||
70 | * |
||
71 | * @throws \NotificationChannels\Trello\Exceptions\CouldAddComment |
||
72 | */ |
||
73 | public function addComments($notifiable, array $trelloCardComments, $response) |
||
89 | |||
90 | } |
||
91 |
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.