Commit 10512ff0 by Carsten Brandt

do not export mailer in BaseMailerTest message

fixes test break in HHVM due to export of a closure
parent c05972d1
...@@ -384,6 +384,10 @@ class Message extends BaseMessage ...@@ -384,6 +384,10 @@ class Message extends BaseMessage
public function toString() public function toString()
{ {
return var_export($this, true); $mailer = $this->mailer;
$this->mailer = null;
$s = var_export($this, true);
$this->mailer = $mailer;
return $s;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment