@@ -95,7 +95,7 @@ |
||
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) |
@@ -50,7 +50,7 @@ discard block |
||
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 |
||
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 | } |