Test Failed
Pull Request — master (#19)
by
unknown
07:17
created
src/AfricasTalkingServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
src/AfricasTalkingChannel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.