1 | <?php |
||
9 | class FacebookPosterChannel |
||
10 | { |
||
11 | /** @var \Facebook\Facebook */ |
||
12 | protected $facebook; |
||
13 | |||
14 | /** |
||
15 | * @param \Facebook\Facebook $facebook |
||
16 | */ |
||
17 | 4 | public function __construct(Facebook $facebook) |
|
21 | |||
22 | /** |
||
23 | * Send the given notification. |
||
24 | * |
||
25 | * @param mixed $notifiable |
||
26 | * @param \Illuminate\Notifications\Notification $notification |
||
27 | * |
||
28 | * @throws InvalidPostContentException |
||
29 | */ |
||
30 | 4 | public function send($notifiable, Notification $notification) |
|
58 | |||
59 | /** |
||
60 | * @param array $postBody |
||
61 | * |
||
62 | * @throws \NotificationChannels\FacebookPoster\Exceptions\InvalidPostContent |
||
63 | */ |
||
64 | 4 | protected function guardAgainstInvalidPostContent($postBody) |
|
80 | |||
81 | /** |
||
82 | * Use per user settings instead of default ones. |
||
83 | * @param $facebookSettings |
||
84 | */ |
||
85 | private function switchSettings($facebookSettings) |
||
89 | } |
||
90 |
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.