@@ -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)) { |
@@ -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 |