ZF-8162: Several TYPOs in Zend_Mail_Protocol_Imap and Zend_Mail_Protocol_Pop3
Description
Zend_Mail_Protocol_Imap->connect has synopsis "Open connection to POP3 server". There's a bit too much copy-pasting here:
/**
* Open connection to POP3 server
*
* @param string $host hostname of IP address of POP3 server
* @param int|null $port of IMAP server, default is 143 (993 for ssl)
* @param string|bool $ssl use 'SSL', 'TLS' or false
* @return string welcome message
* @throws Zend_Mail_Protocol_Exception
*/
public function connect($host, $port = null, $ssl = false)
{
The $host parameter's description also needs to be fixed. BTW, this should read "hostname or IP address", not "hostname of IP address".
Comments
Posted by Satoru Yoshida (satoruyoshida) on 2009-10-28T06:17:38.000+0000
Thank you for report, Filipus. I fixed several TYPOs in PHPDoc at r18725 in trunk.
1) from "hostname of IP address" to "hostname or IP address" .
PHPDoc of connect() and __construct() in Zend_Mail_Protocol_Imap . And same in Zend_Mail_Protocol_Pop3 .
2) from "POP3" to "IMAP" .
2 TYPOs in connect() in Zend_Mail_Protocol_Imap .