Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 22, 2016
1 parent a5dd235 commit 69d3d04
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 8 additions & 3 deletions src/Illuminate/Mail/Transport/ArrayTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,21 @@ public function send(Swift_Mime_Message $message, &$failedRecipients = null)
}

/**
* Return the collection of messages.
* Retrieve the collection of messages.
*
* @return \Illuminate\Support\Collection
*/
public function getMessages()
public function messages()
{
return $this->messages;
}

public function clearMessages()
/**
* Clear all of the messages from the local collection.
*
* @return void
*/
public function flush()
{
return $this->messages = new Collection;
}
Expand Down
4 changes: 3 additions & 1 deletion src/Illuminate/Mail/TransportManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,12 @@ protected function createLogDriver()

/**
* Create an instance of the Array Swift Transport Driver.
*
* @return \Illuminate\Mail\Transport\ArrayTransport
*/
protected function createArrayDriver()
{
return new ArrayTransport();
return new ArrayTransport;
}

/**
Expand Down

0 comments on commit 69d3d04

Please sign in to comment.