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