Passed
Pull Request — master (#15)
by Joao
07:05
created
src/Wrapper/MailgunApiWrapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,11 +98,11 @@
 block discarded – undo
98 98
 
99 99
         $result = $this->client->sendRequest($request);
100 100
         if ($result->getStatusCode() != 200) {
101
-            throw new MailApiException("Mailgun result code is " . $result->getStatusCode());
101
+            throw new MailApiException("Mailgun result code is ".$result->getStatusCode());
102 102
         }
103 103
         $resultJson = json_decode($result->getBody()->getContents(), true);
104 104
         if (!isset($resultJson['id'])) {
105
-            throw new MailApiException('Mailgun: ' . $resultJson['message']);
105
+            throw new MailApiException('Mailgun: '.$resultJson['message']);
106 106
         }
107 107
 
108 108
         return true;
Please login to merge, or discard this patch.