1 | <?php |
||
13 | class ExponentChannel |
||
14 | { |
||
15 | const DEFAULT_API_URL = 'https://exp.host'; |
||
16 | const MAX_TOKEN_LENGTH = 100; |
||
17 | |||
18 | protected $client; |
||
19 | |||
20 | /** |
||
21 | * ExponentChannel constructor. |
||
22 | * @param Client $client |
||
23 | */ |
||
24 | 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\Exponent\Exceptions\CouldNotSendNotification |
||
36 | */ |
||
37 | public function send($notifiable, Notification $notification) |
||
61 | |||
62 | /** |
||
63 | * @param ExponentMessage $exponentMessage |
||
64 | */ |
||
65 | protected function sendExponent(ExponentMessage $exponentMessage) |
||
83 | } |
||
84 |
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.