@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function send($notifiable, Notification $notification) |
| 41 | 41 | { |
| 42 | - if (! $this->channelEnabled) { |
|
| 42 | + if (!$this->channelEnabled) { |
|
| 43 | 43 | return; |
| 44 | 44 | } |
| 45 | 45 | |
@@ -14,8 +14,8 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | public function boot() |
| 16 | 16 | { |
| 17 | - $this->app->afterResolving(ChannelManager::class, function (ChannelManager $channels) { |
|
| 18 | - $channels->extend('sipgate', function ($app) { |
|
| 17 | + $this->app->afterResolving(ChannelManager::class, function(ChannelManager $channels) { |
|
| 18 | + $channels->extend('sipgate', function($app) { |
|
| 19 | 19 | /* @var Application $app */ |
| 20 | 20 | return $app->make(SipgateChannel::class); |
| 21 | 21 | }); |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | ->needs('$channelEnabled') |
| 30 | 30 | ->give($this->app['config']['services.sipgate.enabled']); |
| 31 | 31 | |
| 32 | - $this->app->bind(SipgateClient::class, function () { |
|
| 32 | + $this->app->bind(SipgateClient::class, function() { |
|
| 33 | 33 | return new SipgateClient( |
| 34 | 34 | new Client([ |
| 35 | 35 | 'base_uri' => 'https://api.sipgate.com/v2/', |