@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * @param \Pushok\Client $client |
83 | 83 | * @param \NotificationChannels\Apn\ApnMessage $message |
84 | 84 | * @param array $tokens |
85 | - * @return array |
|
85 | + * @return \Pushok\ApnsResponseInterface[] |
|
86 | 86 | */ |
87 | 87 | protected function sendNotifications(Client $client, ApnMessage $message, array $tokens) |
88 | 88 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * |
99 | 99 | * @param mixed $notifiable |
100 | 100 | * @param \Illuminate\Notifications\Notification $notification |
101 | - * @param array $responses |
|
101 | + * @param \Pushok\ApnsResponseInterface[] $responses |
|
102 | 102 | * @return void |
103 | 103 | */ |
104 | 104 | protected function dispatchEvents($notifiable, $notification, array $responses) |
@@ -2,11 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace NotificationChannels\Apn; |
4 | 4 | |
5 | -use Illuminate\Contracts\Events\Dispatcher; |
|
6 | -use Illuminate\Notifications\Events\NotificationFailed; |
|
7 | 5 | use Illuminate\Notifications\Notification; |
8 | -use Pushok\Client; |
|
9 | -use Pushok\Response; |
|
10 | 6 | |
11 | 7 | class ApnVoipChannel extends ApnChannel |
12 | 8 | { |