@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | $isValidInstance = $this instanceof Mailable || $this instanceof MailMessage; |
20 | 20 | |
21 | 21 | if ($isValidInstance && $this->mailDriver() == "sendgrid") { |
22 | - $this->withSymfonyMessage(function (Email $email) use ($params) { |
|
22 | + $this->withSymfonyMessage(function(Email $email) use ($params) { |
|
23 | 23 | $email->embed(static::sgEncode($params), SendgridTransport::REQUEST_BODY_PARAMETER); |
24 | 24 | }); |
25 | 25 | } |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | public static function sgDecode($strParams) |
54 | 54 | { |
55 | 55 | if (!is_string($strParams)) { |
56 | - return (array)$strParams; |
|
56 | + return (array) $strParams; |
|
57 | 57 | } |
58 | 58 | $params = json_decode($strParams, true); |
59 | 59 | return is_array($params) ? $params : []; |