1 | <?php |
||
11 | class PusherChannel |
||
12 | { |
||
13 | /** |
||
14 | * @var PushNotifications |
||
15 | */ |
||
16 | protected $beamsClient; |
||
17 | |||
18 | /** |
||
19 | * @var \Illuminate\Events\Dispatcher |
||
20 | */ |
||
21 | private $events; |
||
22 | |||
23 | /** |
||
24 | * @param PushNotifications $beamsClient |
||
25 | * @param Dispatcher $events |
||
26 | */ |
||
27 | 2 | public function __construct(PushNotifications $beamsClient, Dispatcher $events) |
|
32 | |||
33 | /** |
||
34 | * Send the given notification. |
||
35 | * |
||
36 | * @param mixed $notifiable |
||
37 | * @param \Illuminate\Notifications\Notification $notification |
||
38 | * |
||
39 | * @return void |
||
40 | */ |
||
41 | 2 | public function send($notifiable, Notification $notification) |
|
57 | |||
58 | /** |
||
59 | * Get the interest name for the notifiable. |
||
60 | * |
||
61 | * @param $notifiable |
||
62 | * |
||
63 | * @return string |
||
64 | */ |
||
65 | protected function interestName($notifiable) |
||
71 | } |
||
72 |
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.