ZF-8162: Several TYPOs in Zend_Mail_Protocol_Imap and Zend_Mail_Protocol_Pop3

Issue Type: Bug Created: 2009-10-27T13:52:15.000+0000 Last Updated: 2009-10-28T06:17:39.000+0000 Status: Resolved Fix version(s): - 1.9.6 (24/Nov/09)

Reporter: Filipus Klutiero (chealer) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Mail

Related issues: Attachments:


Zend_Mail_Protocol_Imap->connect has synopsis "Open connection to POP3 server". There's a bit too much copy-pasting here:

<pre class="highlight">
     * 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".


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 .

  1. from "POP3" to "IMAP" .

2 TYPOs in connect() in Zend_Mail_Protocol_Imap .

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.