/**
* Description of function
* @param string $variable Description of variable
* @return int Description of returned value
*/
function test($variable) {
return 0;
}
And if I call this function, i get a popup like this:
int test(string $variable)
Description of function
@param string $variable Description of variable
@return int Description of returned value
It’s normal?
I think I must get a popup like this:
int test(string $variable)
Description of function
$variable - Description of variable
return int
I don’t think you can easily change how this is printed. And the reason for it to be printed the way it is is likely to be able to cover many different use-cases. @toddw will likely know more about this.