Skip to content
Permalink
Browse files

Fix doc block instead.

  • Loading branch information...
dereuromark committed Dec 19, 2015
1 parent 4136857 commit 479eec4148b9e99a46f2dcd8141892a9615952ef
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Cake/Network/Email/SmtpTransport.php
@@ -340,9 +340,9 @@ protected function _generateSocket() {
/**
* 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 @@ protected function _smtpSend($data, $checkCode = '250') {
if ($code[2] === '-') {
continue;
}
return;
return $code[1];
}
throw new SocketException(__d('cake_dev', 'SMTP Error: %s', $response));
}

0 comments on commit 479eec4

Please sign in to comment.
You can’t perform that action at this time.