1 | <?php |
||
10 | class PusherBeams |
||
11 | { |
||
12 | /** |
||
13 | * @var \Pusher\PushNotifications\PushNotifications |
||
14 | */ |
||
15 | protected $beams; |
||
16 | |||
17 | /** |
||
18 | * @param \Pusher\PushNotifications\PushNotifications $beams |
||
19 | * @param \Illuminate\Events\Dispatcher $events |
||
20 | */ |
||
21 | public function __construct(PushNotifications $beams, Dispatcher $events) |
||
26 | |||
27 | /** |
||
28 | * @var \Illuminate\Events\Dispatcher |
||
29 | */ |
||
30 | protected $events; |
||
31 | |||
32 | /** |
||
33 | * Send the given notification. |
||
34 | * |
||
35 | * @param mixed $notifiable |
||
36 | * @param \Illuminate\Notifications\Notification $notification |
||
37 | */ |
||
38 | public function send($notifiable, Notification $notification) |
||
69 | |||
70 | /** |
||
71 | * Get the interest name for the notifiable. |
||
72 | * |
||
73 | * @param string $notifiable |
||
74 | * @return string |
||
75 | */ |
||
76 | protected function interestName($notifiable) |
||
82 | } |
||
83 |
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.