mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix doc block instead.
This commit is contained in:
parent
4136857278
commit
479eec4148
1 changed files with 4 additions and 4 deletions
|
@ -340,9 +340,9 @@ class SmtpTransport extends AbstractTransport {
|
|||
/**
|
||||
* Protected method for sending data to SMTP connection
|
||||
*
|
||||
* @param string $data data to be sent to SMTP server
|
||||
* @param string|bool $checkCode code to check for in server response, false to skip
|
||||
* @return void
|
||||
* @param string|null $data Data to be sent to SMTP server
|
||||
* @param string|bool $checkCode Code to check for in server response, false to skip
|
||||
* @return string Response code
|
||||
* @throws SocketException
|
||||
*/
|
||||
protected function _smtpSend($data, $checkCode = '250') {
|
||||
|
@ -369,7 +369,7 @@ class SmtpTransport extends AbstractTransport {
|
|||
if ($code[2] === '-') {
|
||||
continue;
|
||||
}
|
||||
return;
|
||||
return $code[1];
|
||||
}
|
||||
throw new SocketException(__d('cake_dev', 'SMTP Error: %s', $response));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue