@@ -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)) { |
@@ -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); |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | $phoneNumber = $this->getTo($notifiable, $notification, $message); |
34 | 34 | |
35 | - if(empty($phoneNumber)) { |
|
35 | + if (empty($phoneNumber)) { |
|
36 | 36 | throw InvalidPhonenumber::configurationNotSet(); |
37 | 37 | } |
38 | 38 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | private function getTo($notifiable, Notification $notification, AfricasTalkingMessage $message) |
61 | 61 | { |
62 | - if(!empty($message->getTo())) { |
|
62 | + if (!empty($message->getTo())) { |
|
63 | 63 | return $message->getTo(); |
64 | 64 | } |
65 | 65 |