@@ -40,7 +40,7 @@ |
||
40 | 40 | { |
41 | 41 | $this->sg_params = $params ?: $this->sg_params; |
42 | 42 | if ($this instanceof Mailable) { |
43 | - $this->withSwiftMessage(function (Swift_Message $message) { |
|
43 | + $this->withSwiftMessage(function(Swift_Message $message) { |
|
44 | 44 | $message->embed(\Swift_Image::newInstance($this->sg_params, 'sendgrid/x-smtpapi')); |
45 | 45 | }); |
46 | 46 | } |
@@ -132,7 +132,7 @@ |
||
132 | 132 | |
133 | 133 | public function toArray() |
134 | 134 | { |
135 | - return array_filter(json_decode(json_encode($this), true), function ($val) { |
|
135 | + return array_filter(json_decode(json_encode($this), true), function($val) { |
|
136 | 136 | return !empty($val); |
137 | 137 | }); |
138 | 138 | } |
@@ -70,7 +70,7 @@ |
||
70 | 70 | |
71 | 71 | public function toArray() |
72 | 72 | { |
73 | - return array_filter(json_decode(json_encode($this), true), function ($val) { |
|
73 | + return array_filter(json_decode(json_encode($this), true), function($val) { |
|
74 | 74 | return !empty($val); |
75 | 75 | }); |
76 | 76 | } |
@@ -1,4 +1,4 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Sichikawa\LaravelSendgridDriver\Api\Email; |
3 | 3 | |
4 | -class Cc extends Email{} |
|
5 | 4 | \ No newline at end of file |
5 | +class Cc extends Email {} |
|
6 | 6 | \ No newline at end of file |
@@ -1,4 +1,4 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Sichikawa\LaravelSendgridDriver\Api\Email; |
3 | 3 | |
4 | -class Bcc extends Email{} |
|
5 | 4 | \ No newline at end of file |
5 | +class Bcc extends Email {} |
|
6 | 6 | \ No newline at end of file |
@@ -1,4 +1,4 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Sichikawa\LaravelSendgridDriver\Api\Email; |
3 | 3 | |
4 | -class To extends Email{} |
|
5 | 4 | \ No newline at end of file |
5 | +class To extends Email {} |
|
6 | 6 | \ No newline at end of file |
@@ -87,7 +87,7 @@ |
||
87 | 87 | |
88 | 88 | public function toArray() |
89 | 89 | { |
90 | - return array_filter(json_decode(json_encode($this), true), function ($val) { |
|
90 | + return array_filter(json_decode(json_encode($this), true), function($val) { |
|
91 | 91 | return !empty($val); |
92 | 92 | }); |
93 | 93 | } |
@@ -35,7 +35,7 @@ |
||
35 | 35 | |
36 | 36 | public function toArray() |
37 | 37 | { |
38 | - return array_filter(json_decode(json_encode($this), true), function ($val) { |
|
38 | + return array_filter(json_decode(json_encode($this), true), function($val) { |
|
39 | 39 | return !empty($val); |
40 | 40 | }); |
41 | 41 | } |