From 8443b669862416adcc59412b1b2413c1731d2830 Mon Sep 17 00:00:00 2001 From: evilbloodydemon Date: Tue, 19 Apr 2011 22:02:35 +0400 Subject: [PATCH] PhpDoc and naming fixes --- lib/Cake/Network/CakeEmail.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Cake/Network/CakeEmail.php b/lib/Cake/Network/CakeEmail.php index 9f5a73a3d..ef95e879d 100644 --- a/lib/Cake/Network/CakeEmail.php +++ b/lib/Cake/Network/CakeEmail.php @@ -217,7 +217,7 @@ class CakeEmail { protected $_transportName = 'mail'; /** - * Instance of tranport class + * Instance of transport class * * @var object */ @@ -501,7 +501,7 @@ class CakeEmail { } /** - * Sets eaders for the message + * Sets headers for the message * * @param array Associative array containing headers to be set. * @return object $this @@ -846,7 +846,7 @@ class CakeEmail { * 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)) { @@ -873,7 +873,7 @@ class CakeEmail { } } 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)) {