code style

This commit is contained in:
AlexAlexandru 2018-08-01 21:50:38 +03:00
parent 44c0d73391
commit c44113af66
2 changed files with 2 additions and 2 deletions

View file

@ -626,7 +626,7 @@ class CakeEmail {
} }
if ($email == '') { if ($email == '') {
throw new SocketException(__d('cake_dev', 'The email set for "%s" is empty.', $context)); 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)); throw new SocketException(__d('cake_dev', 'Invalid email set for "%s". You passed "%s".', $context, $email));
} }

View file

@ -341,7 +341,7 @@ class CakeEmailTest extends CakeTestCase {
public function testInvalidEmail() { public function testInvalidEmail() {
$this->CakeEmail->to(''); $this->CakeEmail->to('');
} }
/** /**
* testBuildInvalidData * testBuildInvalidData
* *