phpca
phpca copied to clipboard
FunctionsMustHaveDocBlockRule also requires anonymous functions to have docblock
It's unclear if this is the intended behavior or not but the rule requires anonymous functions to have docblocks. One could argue that anonymous functions have to be treated documentation wise like any other function or method. I would not suggest that.