1 | <?php |
||
10 | class TwitterChannel |
||
11 | { |
||
12 | /** @var TwitterOAuth */ |
||
13 | protected $twitter; |
||
14 | |||
15 | /** @param TwitterOAuth $twitter */ |
||
16 | 3 | public function __construct(TwitterOAuth $twitter) |
|
20 | |||
21 | /** |
||
22 | * Send the given notification. |
||
23 | * |
||
24 | * @param mixed $notifiable |
||
25 | * @param \Illuminate\Notifications\Notification $notification |
||
26 | * @throws CouldNotSendNotification |
||
27 | */ |
||
28 | 3 | public function send($notifiable, Notification $notification) |
|
42 | |||
43 | /** |
||
44 | * Use per user settings instead of default ones. |
||
45 | * |
||
46 | * @param Notifiable $notifiable |
||
47 | */ |
||
48 | 3 | private function changeTwitterSettingsIfNeeded($notifiable) |
|
55 | |||
56 | /** |
||
57 | * If it is a status update message and images are provided, add them. |
||
58 | * |
||
59 | * @param $twitterMessage |
||
60 | * @return mixed |
||
61 | */ |
||
62 | 3 | private function addImagesIfGiven($twitterMessage) |
|
76 | } |
||
77 |
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.