mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix return value in SmtpTransport
This commit is contained in:
parent
0668cc6ff1
commit
4136857278
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue