@@ -102,7 +102,7 @@ |
||
102 | 102 | */ |
103 | 103 | public function transactional(bool $active = true) |
104 | 104 | { |
105 | - $this->promotional = ! $active; |
|
105 | + $this->promotional = !$active; |
|
106 | 106 | |
107 | 107 | return $this; |
108 | 108 | } |
@@ -15,11 +15,11 @@ discard block |
||
15 | 15 | { |
16 | 16 | $this->app->when(SnsChannel::class) |
17 | 17 | ->needs(Sns::class) |
18 | - ->give(function () { |
|
18 | + ->give(function() { |
|
19 | 19 | return new Sns($this->app->make(SnsService::class)); |
20 | 20 | }); |
21 | 21 | |
22 | - $this->app->bind(SnsService::class, function () { |
|
22 | + $this->app->bind(SnsService::class, function() { |
|
23 | 23 | $config = array_merge(['version' => 'latest'], $this->app['config']['services.sns']); |
24 | 24 | |
25 | 25 | return new SnsService($this->addSnsCredentials($config)); |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | protected function addSnsCredentials($config): array |
30 | 30 | { |
31 | - if (! empty($config['key']) && ! empty($config['secret'])) { |
|
31 | + if (!empty($config['key']) && !empty($config['secret'])) { |
|
32 | 32 | $config['credentials'] = Arr::only($config, ['key', 'secret', 'token']); |
33 | 33 | } |
34 | 34 |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | ], |
34 | 34 | ]; |
35 | 35 | |
36 | - if (! empty($message->getSender())) { |
|
36 | + if (!empty($message->getSender())) { |
|
37 | 37 | $attributes += [ |
38 | 38 | 'AWS.SNS.SMS.SenderID' => [ |
39 | 39 | 'DataType' => 'String', |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | ]; |
43 | 43 | } |
44 | 44 | |
45 | - if (! empty($message->getOriginationNumber())) { |
|
45 | + if (!empty($message->getOriginationNumber())) { |
|
46 | 46 | $attributes += [ |
47 | 47 | 'AWS.MM.SMS.OriginationNumber' => [ |
48 | 48 | 'DataType' => 'String', |