@@ -11,7 +11,7 @@ |
||
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']; |
@@ -49,7 +49,7 @@ |
||
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); |
@@ -35,6 +35,6 @@ |
||
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 | } |