Skip to content

Commit

Permalink
Fix doc block instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Scherer committed Dec 19, 2015
1 parent 4136857 commit 479eec4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Cake/Network/Email/SmtpTransport.php
Expand Up @@ -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') {
Expand All @@ -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));
}
Expand Down

0 comments on commit 479eec4

Please sign in to comment.