| 1 | <?php |
||
| 8 | class ApnChannel |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * The sandbox environment identifier. |
||
| 12 | * |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | const SANDBOX = 0; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The production environment identifier. |
||
| 19 | * |
||
| 20 | * @var int |
||
| 21 | */ |
||
| 22 | const PRODUCTION = 1; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The APNS client. |
||
| 26 | * |
||
| 27 | * @var \Pushok\Client |
||
| 28 | */ |
||
| 29 | protected $client; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Create a new channel instance. |
||
| 33 | * |
||
| 34 | * @param \Pushok\Client $client |
||
| 35 | */ |
||
| 36 | 1 | public function __construct(Client $client) |
|
| 40 | |||
| 41 | /** |
||
| 42 | * Send the notification to Apple Push Notification Service. |
||
| 43 | * |
||
| 44 | * @param mixed $notifiable |
||
| 45 | * @param \Illuminate\Notifications\Notification $notification |
||
| 46 | * @return array|void |
||
| 47 | */ |
||
| 48 | 1 | public function send($notifiable, Notification $notification) |
|
| 66 | } |
||
| 67 |
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.