Passed
Branch master (c13b82)
by Vasyl
11:32
created
Category
src/SendberryServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function register()
13 13
     {
14
-        $this->app->singleton(SendberryApi::class, function ($app) {
14
+        $this->app->singleton(SendberryApi::class, function($app) {
15 15
             $username = $this->app['config']['services.sendberry.username'];
16 16
             $password = $this->app['config']['services.sendberry.password'];
17 17
             $authKey = $this->app['config']['services.sendberry.auth_key'];
Please login to merge, or discard this patch.
src/SendberryChannel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             if (is_string($message)) {
50 50
                 $message = new SendberryMessage($message);
51 51
             }
52
-            if (! $message instanceof SendberryMessage) {
52
+            if (!$message instanceof SendberryMessage) {
53 53
                 throw CouldNotSendNotification::invalidMessageObject($message);
54 54
             }
55 55
             return $this->smsApi->sendMessage($recipient, $message);
Please login to merge, or discard this patch.
src/Exceptions/CouldNotSendNotification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,6 @@
 block discarded – undo
35 35
 
36 36
         return new static(
37 37
             "Notification was not sent. Message object class `{$className}` is invalid. It should
38
-            be either `".SendberryMessage::class);
38
+            be either `" . SendberryMessage::class);
39 39
     }
40 40
 }
Please login to merge, or discard this patch.