phpcheckstyle icon indicating copy to clipboard operation
phpcheckstyle copied to clipboard

No docblock for anonymous function

Open Slavenin opened this issue 8 years ago • 2 comments

Hi! Docblock for closure is strange :)

The function anonymous returns a value and must include @returns in its docblock

Slavenin avatar Jun 06 '17 14:06 Slavenin

Ya, it sound strange. Will have to detect the fact that we are in a closure.

tchule avatar Jun 06 '17 15:06 tchule

Also:

The function anonymous parameters must match those in its docblock @param.

tmosest avatar Jul 21 '17 01:07 tmosest