/**
* Given an API username, retrieve the site nid.
*
* @param $username
*
* @return int
*/
Causes:
102 | ERROR | [ ] Return comment must be on the next line
/**
* Given an API username, retrieve the site nid.
*
* @param $username
*
* @return int
*/
Causes:
102 | ERROR | [ ] Return comment must be on the next line
Comments
Comment #1
klausiYes, because you are missing a description comment for the @return tag on the next line.
Comment #2
psynaptic commentedYes but shouldn't it say "Missing description for @return tag", or something to that effect?
Comment #3
Anonymous (not verified) commentedThis still needs to be modified. It is not clear what the sniffer asks for. I lost like 20 minutes to understand that it actually needs a description.
Comment #4
Anonymous (not verified) commentedComment #5
klausiComment #7
klausicommitted a fix.