ZF-10805: method docblocks contain invalid @param syntax
Description
According to phpDocumentor, the correct format of @param is:
@param datatype $paramname description
There are some instances in the codebase where the datatype is omitted or the terms are out of order (i.e. @param $foo string)
For example, run this in the library dir:
find . -name '*.php' -print0 | xargs -0 grep -P '@param[ ]+\$'
The main side effect is that IDEs are generally be unable to do correct code completion/hinting for these methods.
Comments
Posted by Phoenix Zerin (todofixthis) on 2010-12-25T06:17:03.000+0000
I'll start working on this. 76 files are affected as of r23578.
Posted by Phoenix Zerin (todofixthis) on 2010-12-25T07:37:52.000+0000
Patch for bin, demos, library and tests attached.
Posted by Thomas Weidner (thomas) on 2010-12-26T09:21:31.000+0000
Reopening issues Please don't resolve issues as fixed without doing a commit
Posted by Mickael Perraud (mikaelkael) on 2011-01-21T13:33:18.000+0000
Patch applied with r23650. Thanks.
Posted by Thomas Weidner (thomas) on 2011-02-25T14:23:05.000+0000
Fixed with GH-99 on ZF2