1 | <?php |
||
13 | class FacebookChannel |
||
14 | { |
||
15 | /** @var Facebook */ |
||
16 | private $fb; |
||
17 | |||
18 | /** |
||
19 | * FacebookChannel constructor. |
||
20 | * |
||
21 | * @param Facebook $fb |
||
22 | */ |
||
23 | public function __construct(Facebook $fb) |
||
27 | |||
28 | /** |
||
29 | * Send the given notification. |
||
30 | * |
||
31 | * @param mixed $notifiable |
||
32 | * @param Notification $notification |
||
33 | * |
||
34 | * @return array |
||
35 | * |
||
36 | * @throws CouldNotCreateMessage |
||
37 | * @throws CouldNotSendNotification |
||
38 | * @throws GuzzleException |
||
39 | */ |
||
40 | public function send($notifiable, Notification $notification): array |
||
60 | } |
||
61 |
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.