Commit c9eca1d5 by Alexander Makarov

Fixed refactoring

parent 365d1f5b
...@@ -297,7 +297,7 @@ abstract class BaseMailer extends Component implements MailerInterface, ViewCont ...@@ -297,7 +297,7 @@ abstract class BaseMailer extends Component implements MailerInterface, ViewCont
if ($this->fileTransportCallback !== null) { if ($this->fileTransportCallback !== null) {
$file = $path . '/' . call_user_func($this->fileTransportCallback, $this, $message); $file = $path . '/' . call_user_func($this->fileTransportCallback, $this, $message);
} else { } else {
$file = $this->generateMessageFileName(); $file = $path . '/' . $this->generateMessageFileName();
} }
file_put_contents($file, $message->toString()); file_put_contents($file, $message->toString());
return true; return true;
......
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