@@ -435,6 +435,9 @@ |
||
435 | 435 | |
436 | 436 | /* Private helpers */ |
437 | 437 | |
438 | + /** |
|
439 | + * @param string $header |
|
440 | + */ |
|
438 | 441 | protected function _addHeader($header) |
439 | 442 | { |
440 | 443 | switch ($this->_canon) { |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | public function send(Swift_Mime_Message $message, /** @noinspection ParameterByRefWithDefaultInspection */ &$failedRecipients = null) |
178 | 178 | { |
179 | 179 | $sent = 0; |
180 | - $failedRecipients = (array)$failedRecipients; |
|
180 | + $failedRecipients = (array) $failedRecipients; |
|
181 | 181 | |
182 | 182 | $evt = $this->_eventDispatcher->createSendEvent($this, $message); |
183 | 183 | if ($evt) { |
@@ -196,10 +196,10 @@ discard block |
||
196 | 196 | ); |
197 | 197 | } |
198 | 198 | |
199 | - $to = (array)$message->getTo(); |
|
200 | - $cc = (array)$message->getCc(); |
|
199 | + $to = (array) $message->getTo(); |
|
200 | + $cc = (array) $message->getCc(); |
|
201 | 201 | $tos = array_merge($to, $cc); |
202 | - $bcc = (array)$message->getBcc(); |
|
202 | + $bcc = (array) $message->getBcc(); |
|
203 | 203 | |
204 | 204 | $message->setBcc(array()); |
205 | 205 | |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | */ |
309 | 309 | public function executeCommand($command, $codes = array(), &$failures) |
310 | 310 | { |
311 | - $failures = (array)$failures; |
|
311 | + $failures = (array) $failures; |
|
312 | 312 | $seq = $this->_buffer->write($command); |
313 | 313 | $response = $this->_getFullResponse($seq); |
314 | 314 |