@@ -10,5 +10,8 @@ |
||
| 10 | 10 | |
| 11 | 11 | interface ChannelInterface |
| 12 | 12 | { |
| 13 | + /** |
|
| 14 | + * @return void |
|
| 15 | + */ |
|
| 13 | 16 | public function send(NotifiableInterface $recipient, NotificationInterface $notification); |
| 14 | 17 | } |
| 15 | 18 | \ No newline at end of file |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | $recipients = [$recipients]; |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - if (!is_array($notifications)){ |
|
| 74 | + if (!is_array($notifications)) { |
|
| 75 | 75 | /** |
| 76 | 76 | * @var $notifications NotificationInterface[] |
| 77 | 77 | */ |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * Send notifications via email by default |
| 29 | - * @return array |
|
| 29 | + * @return string[] |
|
| 30 | 30 | */ |
| 31 | 31 | public function viaChannels() |
| 32 | 32 | { |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | ->createRequest() |
| 57 | 57 | ->setMethod('post') |
| 58 | 58 | ->setUrl($this->getUri()) |
| 59 | - ->addHeaders(['Authorization' => 'Basic ' . base64_encode("{$this->accountSid}:{$this->authToken}")]) |
|
| 59 | + ->addHeaders(['Authorization' => 'Basic '.base64_encode("{$this->accountSid}:{$this->authToken}")]) |
|
| 60 | 60 | ->setData($data) |
| 61 | 61 | ->send(); |
| 62 | 62 | } |