Passed
Push — master ( cff1fc...f1b4b7 )
by Dwight
06:09 queued 13s
created
src/SnsMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/SnsServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sns.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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',
Please login to merge, or discard this patch.