phpcheckstyle
phpcheckstyle copied to clipboard
No docblock for anonymous function
Hi! Docblock for closure is strange :)
The function anonymous returns a value and must include @returns in its docblock
Ya, it sound strange. Will have to detect the fact that we are in a closure.
Also:
The function anonymous parameters must match those in its docblock @param.