@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | */ |
| 105 | 105 | public function send(Swift_Mime_Message $message, &$failedRecipients = null) |
| 106 | 106 | { |
| 107 | - $failedRecipients = (array)$failedRecipients; |
|
| 107 | + $failedRecipients = (array) $failedRecipients; |
|
| 108 | 108 | |
| 109 | 109 | $evt = $this->_eventDispatcher->createSendEvent($this, $message); |
| 110 | 110 | if ($evt) { |
@@ -116,9 +116,9 @@ discard block |
||
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | $count = ( |
| 119 | - count((array)$message->getTo()) |
|
| 120 | - + count((array)$message->getCc()) |
|
| 121 | - + count((array)$message->getBcc()) |
|
| 119 | + count((array) $message->getTo()) |
|
| 120 | + + count((array) $message->getCc()) |
|
| 121 | + + count((array) $message->getBcc()) |
|
| 122 | 122 | ); |
| 123 | 123 | |
| 124 | 124 | /* |
@@ -181,9 +181,9 @@ discard block |
||
| 181 | 181 | } else { |
| 182 | 182 | $failedRecipients = array_merge( |
| 183 | 183 | $failedRecipients, |
| 184 | - array_keys((array)$message->getTo()), |
|
| 185 | - array_keys((array)$message->getCc()), |
|
| 186 | - array_keys((array)$message->getBcc()) |
|
| 184 | + array_keys((array) $message->getTo()), |
|
| 185 | + array_keys((array) $message->getCc()), |
|
| 186 | + array_keys((array) $message->getBcc()) |
|
| 187 | 187 | ); |
| 188 | 188 | |
| 189 | 189 | if ($evt) { |