@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | */ |
| 97 | 97 | protected function seeEmailBcc($bcc, Swift_Message $message = null) |
| 98 | 98 | { |
| 99 | - $this->assertArrayHasKey($bcc, (array)$this->getEmail($message) |
|
| 99 | + $this->assertArrayHasKey($bcc, (array) $this->getEmail($message) |
|
| 100 | 100 | ->getBcc(), "The last email sent was not bcc'ed to $bcc."); |
| 101 | 101 | |
| 102 | 102 | return $this; |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | */ |
| 113 | 113 | protected function seeEmailCc($cc, Swift_Message $message = null) |
| 114 | 114 | { |
| 115 | - $this->assertArrayHasKey($cc, (array)$this->getEmail($message) |
|
| 115 | + $this->assertArrayHasKey($cc, (array) $this->getEmail($message) |
|
| 116 | 116 | ->getCc(), "The last email sent was not cc'ed to $cc."); |
| 117 | 117 | |
| 118 | 118 | return $this; |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | protected function seeEmailFrom($sender, Swift_Message $message = null) |
| 203 | 203 | { |
| 204 | 204 | // TODO: Allow from to be an array to check email & name |
| 205 | - $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
|
| 205 | + $this->assertArrayHasKey($sender, (array) $this->getEmail($message) |
|
| 206 | 206 | ->getFrom(), "The last email sent was not sent from $sender."); |
| 207 | 207 | |
| 208 | 208 | return $this; |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | { |
| 244 | 244 | $this->assertArrayHasKey( |
| 245 | 245 | $reply_to, |
| 246 | - (array)$this->getEmail($message) |
|
| 246 | + (array) $this->getEmail($message) |
|
| 247 | 247 | ->getReplyTo(), |
| 248 | 248 | "The last email sent was not set to reply to $reply_to." |
| 249 | 249 | ); |
@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | */ |
| 365 | 365 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
| 366 | 366 | { |
| 367 | - $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
|
| 367 | + $this->assertArrayHasKey($recipient, (array) $this->getEmail($message) |
|
| 368 | 368 | ->getTo(), "The last email sent was not sent to $recipient."); |
| 369 | 369 | |
| 370 | 370 | return $this; |