@@ -11,7 +11,7 @@ |
||
| 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']; |
@@ -29,6 +29,6 @@ |
||
| 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 | } |
@@ -48,7 +48,7 @@ |
||
| 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 | |