@@ -86,7 +86,7 @@ |
||
| 86 | 86 | * Get the alphanumeric sender. |
| 87 | 87 | * |
| 88 | 88 | * @param $notifiable |
| 89 | - * @return mixed|null |
|
| 89 | + * @return boolean |
|
| 90 | 90 | * @throws CouldNotSendNotification |
| 91 | 91 | */ |
| 92 | 92 | protected function canReceiveAlphanumericSender($notifiable) |
@@ -3,9 +3,9 @@ |
||
| 3 | 3 | namespace NotificationChannels\Twilio; |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | -use Illuminate\Notifications\Notification; |
|
| 7 | 6 | use Illuminate\Contracts\Events\Dispatcher; |
| 8 | 7 | use Illuminate\Notifications\Events\NotificationFailed; |
| 8 | +use Illuminate\Notifications\Notification; |
|
| 9 | 9 | use NotificationChannels\Twilio\Exceptions\CouldNotSendNotification; |
| 10 | 10 | |
| 11 | 11 | class TwilioChannel |
@@ -196,7 +196,7 @@ |
||
| 196 | 196 | /** |
| 197 | 197 | * @param array $params |
| 198 | 198 | * @param TwilioMessage $message |
| 199 | - * @param array $optionalParams |
|
| 199 | + * @param string[] $optionalParams |
|
| 200 | 200 | * @return mixed |
| 201 | 201 | */ |
| 202 | 202 | protected function fillOptionalParams(&$params, $message, $optionalParams) |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NotificationChannels\Twilio; |
| 4 | 4 | |
| 5 | -use Twilio\Rest\Client as TwilioService; |
|
| 6 | 5 | use NotificationChannels\Twilio\Exceptions\CouldNotSendNotification; |
| 6 | +use Twilio\Rest\Client as TwilioService; |
|
| 7 | 7 | |
| 8 | 8 | class Twilio |
| 9 | 9 | { |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | /** |
| 16 | 16 | * get Service Id |
| 17 | 17 | * |
| 18 | - * @return mixed |
|
| 18 | + * @return null|string |
|
| 19 | 19 | */ |
| 20 | 20 | public function getServiceSid() |
| 21 | 21 | { |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | /** |
| 26 | 26 | * set Service Id |
| 27 | 27 | * |
| 28 | - * @param string $service_id |
|
| 28 | + * @param string $service_sid |
|
| 29 | 29 | * @return $this |
| 30 | 30 | */ |
| 31 | 31 | public function setServiceSid($service_sid) |