Skip to content

Commit

Permalink
Adjust transport property type declaration and reset value.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndm2 committed Oct 15, 2014
1 parent 591b6ee commit 8397573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Network/Email/Email.php
Expand Up @@ -261,7 +261,7 @@ class Email {
/**
* The transport instance to use for sending mail.
*
* @var string
* @var \Cake\Network\Email\AbstractTransport
*/
protected $_transport = null;

Expand Down Expand Up @@ -1373,7 +1373,7 @@ public function reset() {
$this->_htmlMessage = '';
$this->_message = '';
$this->_emailFormat = 'text';
$this->_transport = 'default';
$this->_transport = null;
$this->charset = 'utf-8';
$this->headerCharset = null;
$this->_attachments = array();
Expand Down

0 comments on commit 8397573

Please sign in to comment.