@@ -18,7 +18,7 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | $this->app->when(AfricasTalkingChannel::class) |
| 20 | 20 | ->needs(AfricasTalkingSDK::class) |
| 21 | - ->give(function () { |
|
| 21 | + ->give(function() { |
|
| 22 | 22 | $userName = config('services.africastalking.username'); |
| 23 | 23 | $key = config('services.africastalking.key'); |
| 24 | 24 | if (is_null($userName) || is_null($key)) { |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $phoneNumber = $notifiable->phone_number ?? $message->getTo(); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - if(empty($phoneNumber)) { |
|
| 37 | + if (empty($phoneNumber)) { |
|
| 38 | 38 | throw InvalidPhonenumber::configurationNotSet(); |
| 39 | 39 | } |
| 40 | 40 | |
@@ -39,12 +39,12 @@ |
||
| 39 | 39 | return $this; |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - /** |
|
| 43 | - * Set recipient for this message. |
|
| 44 | - * |
|
| 45 | - * @param string $from |
|
| 46 | - * @return self |
|
| 47 | - */ |
|
| 42 | + /** |
|
| 43 | + * Set recipient for this message. |
|
| 44 | + * |
|
| 45 | + * @param string $from |
|
| 46 | + * @return self |
|
| 47 | + */ |
|
| 48 | 48 | public function to(string $to): self |
| 49 | 49 | { |
| 50 | 50 | $this->to = trim($to); |