Merge pull request #7874 from cakephp/2.7-return-value

Fix doc block return statement in SmtpTransport
This commit is contained in:
Mark Story 2015-12-19 13:59:40 -05:00
commit c97a9276bc

View file

@ -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') {