@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function setUpMailTracking() |
50 | 50 | { |
51 | - $this->afterApplicationCreated(function () { |
|
51 | + $this->afterApplicationCreated(function() { |
|
52 | 52 | Mail::getSwiftMailer() |
53 | 53 | ->registerPlugin(new MailRecorder($this)); |
54 | 54 | }); |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | */ |
99 | 99 | protected function seeEmailBcc($bcc, Swift_Message $message = null) |
100 | 100 | { |
101 | - $this->assertArrayHasKey($bcc, (array)$this->getEmail($message) |
|
101 | + $this->assertArrayHasKey($bcc, (array) $this->getEmail($message) |
|
102 | 102 | ->getBcc(), "The last email sent was not bcc'ed to $bcc."); |
103 | 103 | |
104 | 104 | return $this; |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | */ |
115 | 115 | protected function seeEmailCc($cc, Swift_Message $message = null) |
116 | 116 | { |
117 | - $this->assertArrayHasKey($cc, (array)$this->getEmail($message) |
|
117 | + $this->assertArrayHasKey($cc, (array) $this->getEmail($message) |
|
118 | 118 | ->getCc(), "The last email sent was not cc'ed to $cc."); |
119 | 119 | |
120 | 120 | return $this; |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | protected function seeEmailFrom($sender, Swift_Message $message = null) |
199 | 199 | { |
200 | 200 | // TODO: Allow from to be an array to check email & name |
201 | - $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
|
201 | + $this->assertArrayHasKey($sender, (array) $this->getEmail($message) |
|
202 | 202 | ->getFrom(), "The last email sent was not sent from $sender."); |
203 | 203 | |
204 | 204 | return $this; |
@@ -234,7 +234,7 @@ discard block |
||
234 | 234 | */ |
235 | 235 | protected function seeEmailReplyTo($reply_to, Swift_Message $message = null) |
236 | 236 | { |
237 | - $this->assertArrayHasKey($reply_to, (array)$this->getEmail($message) |
|
237 | + $this->assertArrayHasKey($reply_to, (array) $this->getEmail($message) |
|
238 | 238 | ->getReplyTo(), |
239 | 239 | "The last email sent was not set to reply to $reply_to."); |
240 | 240 | |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | */ |
346 | 346 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
347 | 347 | { |
348 | - $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
|
348 | + $this->assertArrayHasKey($recipient, (array) $this->getEmail($message) |
|
349 | 349 | ->getTo(), "The last email sent was not sent to $recipient."); |
350 | 350 | |
351 | 351 | return $this; |