Home » HTML » HTML_Common » Bug #3953
HTML_Common::_updateAttrArray() does not return array
Details
| Submitted | 2005-03-24 23:18 UTC |
|---|---|
| From | herojoker at nexgo dot de |
| Assigned | thesaur |
| Status | Closed |
| Package | HTML_Common |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| 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