@@ -275,7 +275,7 @@ |
||
275 | 275 | |
276 | 276 | array_splice($var, 0, 1); |
277 | 277 | |
278 | - if ($this->requestType === 'default' && in_array($this->request->getMethod(), $data['method'])) { |
|
278 | + if ($this->requestType === 'default' && in_array($this->request->getMethod(), $data['method'])) { |
|
279 | 279 | |
280 | 280 | return [ |
281 | 281 | 'class' => $data['controller'], |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | $headers .= 'Content-Type: multipart/mixed; charset=UTF-8; boundary=' . $boundary . $eol; |
189 | 189 | |
190 | 190 | if (!empty($this->from)) { |
191 | - $headers .= 'From: ' .$this->from . $eol; |
|
191 | + $headers .= 'From: ' . $this->from . $eol; |
|
192 | 192 | } |
193 | 193 | |
194 | 194 | if (!empty($this->replyTo)) { |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | } |
247 | 247 | |
248 | 248 | $body .= 'Content-Transfer-Encoding: base64' . $eol; |
249 | - $body .= 'X-Attachment-Id: ' . rand(1000,99999) . $eol . $eol; |
|
249 | + $body .= 'X-Attachment-Id: ' . rand(1000, 99999) . $eol . $eol; |
|
250 | 250 | $body .= $encodedContent . $eol; |
251 | 251 | |
252 | 252 | } |