Completed
Push — master ( dca126...bd0fd2 )
by Gabriel
04:22
created
src/Postmark.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     }
96 96
 
97 97
     /**
98
-     * @param array|null $attachements
98
+     * @param AttachmentInterface[] $attachements
99 99
      * @return array|null
100 100
      */
101 101
     private function mapAttachments(array $attachements = null)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
                 $sendResult = $sendResult[0];
51 51
             }
52 52
 
53
-            if ((int) $sendResult['ErrorCode'] !== 0) {
53
+            if ((int)$sendResult['ErrorCode'] !== 0) {
54 54
                 $e = new PostmarkException();
55 55
                 $e->httpStatusCode = $sendResult['ErrorCode'];
56 56
                 $e->message = $sendResult['Message'];
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     {
129 129
         $returnValue = '';
130 130
         foreach ($emails as $email) {
131
-            $returnValue .= $this->mapEmail($email) . ', ';
131
+            $returnValue .= $this->mapEmail($email).', ';
132 132
         }
133 133
         return $returnValue ? substr($returnValue, 0, -2) : '';
134 134
     }
Please login to merge, or discard this patch.