Skip to content

Commit

Permalink
PhpDoc and naming fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
evilbloodydemon authored and jrbasso committed Apr 19, 2011
1 parent 1004b1a commit 8443b66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Cake/Network/CakeEmail.php
Expand Up @@ -217,7 +217,7 @@ class CakeEmail {
protected $_transportName = 'mail';

/**
* Instance of tranport class
* Instance of transport class
*
* @var object
*/
Expand Down Expand Up @@ -501,7 +501,7 @@ public function subject($subject = null) {
}

/**
* Sets eaders for the message
* Sets headers for the message
*
* @param array Associative array containing headers to be set.
* @return object $this
Expand Down Expand Up @@ -846,7 +846,7 @@ public function config($config = null) {
* Send an email using the specified content, template and layout
*
* @return boolean Success
* @thrown SocketExpcetion
* @thrown SocketException
*/
public function send($content = null) {
if (is_string($this->_config)) {
Expand All @@ -873,7 +873,7 @@ public function send($content = null) {
}
}
if (empty($this->_to) && empty($this->_cc) && empty($this->_bcc)) {
throw new SocketExpcetion(__d('cake', 'You need specify one destination on to, cc or bcc.'));
throw new SocketException(__d('cake', 'You need specify one destination on to, cc or bcc.'));
}

if (is_array($content)) {
Expand Down

0 comments on commit 8443b66

Please sign in to comment.