ZF-10805: method docblocks contain invalid @param syntax


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.


I'll start working on this. 76 files are affected as of r23578.

Patch for bin, demos, library and tests attached.

Reopening issues Please don't resolve issues as fixed without doing a commit

Patch applied with r23650. Thanks.

Fixed with GH-99 on ZF2