1 | <?php |
||
10 | class FacebookPosterChannel |
||
11 | { |
||
12 | /** @var \Facebook\Facebook */ |
||
13 | protected $facebook; |
||
14 | |||
15 | /** |
||
16 | * @param \Facebook\Facebook $facebook |
||
17 | */ |
||
18 | 4 | public function __construct(Facebook $facebook) |
|
22 | |||
23 | /** |
||
24 | * Send the given notification. |
||
25 | * |
||
26 | * @param mixed $notifiable |
||
27 | * @param \Illuminate\Notifications\Notification $notification |
||
28 | * |
||
29 | * @throws InvalidPostContentException |
||
30 | */ |
||
31 | 4 | public function send($notifiable, Notification $notification) |
|
62 | |||
63 | /** |
||
64 | * @param array $postBody |
||
65 | * |
||
66 | * @throws \NotificationChannels\FacebookPoster\Exceptions\InvalidPostContent |
||
67 | */ |
||
68 | 4 | protected function guardAgainstInvalidPostContent($postBody) |
|
84 | |||
85 | /** |
||
86 | * Use per user settings instead of default ones. |
||
87 | * @param $facebookSettings |
||
88 | */ |
||
89 | private function switchSettings($facebookSettings) |
||
93 | } |
||
94 |
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.