code style

This commit is contained in:
AlexAlexandru 2018-08-01 21:04:50 +03:00
parent 8c3982b192
commit 44c0d73391

View file

@ -624,10 +624,10 @@ class CakeEmail {
} elseif (preg_match($this->_emailPattern, $email)) { } elseif (preg_match($this->_emailPattern, $email)) {
return; return;
} }
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));
} }
/** /**