| 1 | <?php |
||
| 10 | class OneSignalChannel |
||
| 11 | { |
||
| 12 | /** @var OneSignalClient */ |
||
| 13 | protected $oneSignal; |
||
| 14 | |||
| 15 | 1 | public function __construct(OneSignalClient $oneSignal) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * Send the given notification. |
||
| 22 | * |
||
| 23 | * @param mixed $notifiable |
||
| 24 | * @param \Illuminate\Notifications\Notification $notification |
||
| 25 | * |
||
| 26 | * @throws \NotificationChannels\OneSignal\Exceptions\CouldNotSendNotification |
||
| 27 | */ |
||
| 28 | 1 | public function send($notifiable, Notification $notification) |
|
| 49 | } |
||
| 50 |
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.