Completed
Pull Request — master (#164)
by Santi
19s
created
src/SendGrid.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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 : [];
Please login to merge, or discard this patch.