| 1 | <?php |
||
| 9 | class FacebookChannel |
||
| 10 | { |
||
| 11 | /** @var Facebook */ |
||
| 12 | private $fb; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * FacebookChannel constructor. |
||
| 16 | * |
||
| 17 | * @param Facebook $fb |
||
| 18 | */ |
||
| 19 | public function __construct(Facebook $fb) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Send the given notification. |
||
| 26 | * |
||
| 27 | * @param mixed $notifiable |
||
| 28 | * @param \Illuminate\Notifications\Notification $notification |
||
| 29 | * |
||
| 30 | * @throws \NotificationChannels\Facebook\Exceptions\CouldNotCreateMessage |
||
| 31 | */ |
||
| 32 | public function send($notifiable, Notification $notification) |
||
| 54 | } |
||
| 55 |
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.