@returns:
/**
* @returns {type} Description of the return statement
*/
@param:
/**
* @param {type} $name - description
*/
Incoming @requires:
/**
* @requires {type} name - Description of the return statement
*/
First, the hyphen:
- either we make it mandatory;
- or we remove it;
- or we make it optional.
Second, we make all those annotations behave the same by following the same rule. Curently, hyphen doesn't exist in @returns, is mandatory on @param and is about to be added as optional to @requires. Nope.
So, how do we do?
Edit: I'm tagging this for v1. It's not much, but we need to settle things down now.
@returns:@param:Incoming
@requires:First, the hyphen:
Second, we make all those annotations behave the same by following the same rule. Curently, hyphen doesn't exist in
@returns, is mandatory on@paramand is about to be added as optional to@requires. Nope.So, how do we do?
Edit: I'm tagging this for v1. It's not much, but we need to settle things down now.