Completed
Push — master ( 76f30a...5d19f3 )
by Joao
04:06
created
src/Wrapper/MailgunApiWrapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
         // Fix BCC header because PHPMailer does not send to us
27 27
         foreach ((array)$envelope->getBCC() as $bccEmail) {
28
-            $message = 'Bcc: ' . $bccEmail . "\n" . $message;
28
+            $message = 'Bcc: '.$bccEmail."\n".$message;
29 29
         }
30 30
 
31 31
         $domainName = $this->connection->getServer();
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
         $resultJson = json_decode($result, true);
47 47
         if (!isset($resultJson['id'])) {
48
-            throw new MailApiException('Mailgun: ' . $resultJson['message']);
48
+            throw new MailApiException('Mailgun: '.$resultJson['message']);
49 49
         }
50 50
 
51 51
         return true;
Please login to merge, or discard this patch.
src/Wrapper/MandrillApiWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
         } else {
75 75
             $resultJson = json_decode($result, true);
76 76
             if ($resultJson[0]['status'] == 'error') {
77
-                throw new MailApiException('Mandrill: ' . $resultJson[0]['message']);
77
+                throw new MailApiException('Mandrill: '.$resultJson[0]['message']);
78 78
             }
79 79
         }
80 80
 
Please login to merge, or discard this patch.