@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function send($notifiable, Notification $notification) |
46 | 46 | { |
47 | - if (! $to = $notifiable->routeNotificationFor('smspoh', $notification)) { |
|
47 | + if (!$to = $notifiable->routeNotificationFor('smspoh', $notification)) { |
|
48 | 48 | return; |
49 | 49 | } |
50 | 50 |
@@ -21,12 +21,12 @@ |
||
21 | 21 | */ |
22 | 22 | public function register() |
23 | 23 | { |
24 | - $this->app->singleton(SmspohApi::class, static function ($app) { |
|
24 | + $this->app->singleton(SmspohApi::class, static function($app) { |
|
25 | 25 | return new SmspohApi(config('services.smspoh.token'), new HttpClient()); |
26 | 26 | }); |
27 | 27 | |
28 | - Notification::resolved(function (ChannelManager $service) { |
|
29 | - $service->extend('smspoh', function ($app) { |
|
28 | + Notification::resolved(function(ChannelManager $service) { |
|
29 | + $service->extend('smspoh', function($app) { |
|
30 | 30 | return new SmspohChannel($app[SmspohApi::class], $this->app['config']['services.smspoh.sender']); |
31 | 31 | }); |
32 | 32 | }); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | */ |
28 | 28 | public static function smspohRespondedWithAnError(ClientException $exception): self |
29 | 29 | { |
30 | - if (! $exception->hasResponse()) { |
|
30 | + if (!$exception->hasResponse()) { |
|
31 | 31 | return new static('Smspoh responded with an error but no response body found'); |
32 | 32 | } |
33 | 33 |