PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Mail » Mail_Mime » Bug #3940

Mismatch between documatation and implementation

Details

Submitted2005-03-24 09:56 UTC
Fromhiroaki dot kawai at gmail dot com
Assignedcipri
StatusClosed
PackageMail_Mime
PHP Version4.3.10
OSANY
Roadmaps(Not assigned)

Comments

[2005-03-24 09:56 UTC] hiroaki dot kawai at gmail dot com

Description:
------------
Thank you for the release of 1.3.0RC1 :-)

I'd like to report a mismatch between the documentation
and implementation(maybe this is a typo).

in mime.php, line 174, in function setHTMLBody,
docs says,
181 * @return mixed true on success or PEAR_Error object
but returns,
196 return false;

This function should return true for backward compatibility.
# This is a part of the changes in this release.