diff --git a/lib/Cake/Network/Email/CakeEmail.php b/lib/Cake/Network/Email/CakeEmail.php index 997760baa..ee4da73d9 100644 --- a/lib/Cake/Network/Email/CakeEmail.php +++ b/lib/Cake/Network/Email/CakeEmail.php @@ -626,7 +626,7 @@ class CakeEmail { } if ($email == '') { throw new SocketException(__d('cake_dev', 'The email set for "%s" is empty.', $context)); - } + } throw new SocketException(__d('cake_dev', 'Invalid email set for "%s". You passed "%s".', $context, $email)); } diff --git a/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php b/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php index d0f018de3..ca7ae2a38 100644 --- a/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php +++ b/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php @@ -341,7 +341,7 @@ class CakeEmailTest extends CakeTestCase { public function testInvalidEmail() { $this->CakeEmail->to(''); } - + /** * testBuildInvalidData *