Zend Framework

Several TYPOs in Zend_Mail_Protocol_Imap and Zend_Mail_Protocol_Pop3

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.9.5
  • Fix Version/s: 1.9.6
  • Component/s: Zend_Mail
  • Labels:
    None
  • Fix Version Priority:
    Nice to Have

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".

Activity

Hide
Satoru Yoshida added a comment -

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 .

Show
Satoru Yoshida added a comment - 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 .

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: