mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
code style
This commit is contained in:
parent
8c3982b192
commit
44c0d73391
1 changed files with 3 additions and 3 deletions
|
@ -624,10 +624,10 @@ class CakeEmail {
|
|||
} elseif (preg_match($this->_emailPattern, $email)) {
|
||||
return;
|
||||
}
|
||||
if ($email == '') {
|
||||
throw new SocketException(__d('cake_dev', 'The email set for "%s" is empty.', $context));
|
||||
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));
|
||||
throw new SocketException(__d('cake_dev', 'Invalid email set for "%s". You passed "%s".', $context, $email));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue