From 44c0d733912a1e83dd5badc332a4bc9caa232bf3 Mon Sep 17 00:00:00 2001 From: AlexAlexandru Date: Wed, 1 Aug 2018 21:04:50 +0300 Subject: [PATCH] code style --- lib/Cake/Network/Email/CakeEmail.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Cake/Network/Email/CakeEmail.php b/lib/Cake/Network/Email/CakeEmail.php index 4b5c838df92..997760baa6d 100644 --- a/lib/Cake/Network/Email/CakeEmail.php +++ b/lib/Cake/Network/Email/CakeEmail.php @@ -624,10 +624,10 @@ protected function _validateEmail($email, $context) { } 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)); } /**