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 » HTML » HTML_Common » Bug #3953

HTML_Common::_updateAttrArray() does not return array

Details

Submitted2005-03-24 23:18 UTC
Fromherojoker at nexgo dot de
Assignedthesaur
StatusClosed
PackageHTML_Common
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2005-03-24 23:18 UTC] herojoker at nexgo dot de

Description:
------------
Hello!

As described in the summary HTML_Common::_updateAttrArray() does not return the updated array.
Since it works with the reference and you don't use the return value (which would be null), you should update the docs (remove @return array).
Furthermore you should documentate that it returns false when $attr2 is not an array. (Eventually you should make use of that in your code)

Hero Wanders

[2005-03-24 23:43 UTC] herojoker at nexgo dot de

I knew that. I just wanted to assure code quality.

Hero Wanders