Passed
Push — master ( 493e0c...b2ba67 )
by Vasyl
03:32
created
src/TurboSmsServiceProvider.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(TurboSmsApi::class, function ($app) {
14
+        $this->app->singleton(TurboSmsApi::class, function($app) {
15 15
             $apiToken = $this->app['config']['services.turbosms.api_token'];
16 16
             $sender = $this->app['config']['services.turbosms.sender'];
17 17
             $isTest = $this->app['config']['services.turbosms.is_test'];
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
@@ -29,6 +29,6 @@
 block discarded – undo
29 29
 
30 30
         return new static(
31 31
             "Notification was not sent. Message object class `{$className}` is invalid. It should
32
-            be either `".TurboSmsMessage::class);
32
+            be either `" . TurboSmsMessage::class);
33 33
     }
34 34
 }
Please login to merge, or discard this patch.
src/TurboSmsChannel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
             if (is_string($message)) {
49 49
                 $message = new TurboSmsMessage($message);
50 50
             }
51
-            if (! $message instanceof TurboSmsMessage) {
51
+            if (!$message instanceof TurboSmsMessage) {
52 52
                 throw CouldNotSendNotification::invalidMessageObject($message);
53 53
             }
54 54
 
Please login to merge, or discard this patch.