Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Transport/FileOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function setCallback($callback)
public function getCallback()
{
if (null === $this->callback) {
$this->setCallback(function($transport) {
$this->setCallback(function ($transport) {
return 'ZendMail_' . time() . '_' . mt_rand() . '.tmp';
});
}
Expand Down
2 changes: 1 addition & 1 deletion test/Transport/FileOptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testPathIsMutable()
public function testCallbackIsMutable()
{
$original = $this->options->getCallback();
$new = function($transport) {};
$new = function ($transport) {};
$this->options->setCallback($new);
$test = $this->options->getCallback();
$this->assertNotSame($original, $test);
Expand Down
2 changes: 1 addition & 1 deletion test/Transport/SendmailTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function setUp()
{
$this->transport = new Sendmail();
$self = $this;
$this->transport->setCallable(function($to, $subject, $message, $additional_headers, $additional_parameters = null) use ($self) {
$this->transport->setCallable(function ($to, $subject, $message, $additional_headers, $additional_parameters = null) use ($self) {
$self->to = $to;
$self->subject = $subject;
$self->message = $message;
Expand Down

0 comments on commit ceefa98

Please # to comment.