From 413685727867420d37c324ed6696e8196bea62bf Mon Sep 17 00:00:00 2001 From: Mark Scherer Date: Sat, 19 Dec 2015 15:57:53 +0100 Subject: [PATCH] Fix return value in SmtpTransport --- lib/Cake/Network/Email/SmtpTransport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Network/Email/SmtpTransport.php b/lib/Cake/Network/Email/SmtpTransport.php index f37dadf99..144e43da4 100644 --- a/lib/Cake/Network/Email/SmtpTransport.php +++ b/lib/Cake/Network/Email/SmtpTransport.php @@ -369,7 +369,7 @@ class SmtpTransport extends AbstractTransport { if ($code[2] === '-') { continue; } - return $code[1]; + return; } throw new SocketException(__d('cake_dev', 'SMTP Error: %s', $response)); }