I'm trying to follow Zend coding standard for comments blocks for functions and I've stuck during PHP Function Doc Comment
customization.
This is my current code look
/**
${PARAM_DOC}
#if(${PARAM_DOC})
*
#end
* @return ${TYPE_HINT}
${THROWS_DOC}
*/
The assumption for this is that it should add an asterisk only if ${PARAM_DOC}
is not nullable, but this code doesn't work. It always adds an asterisk. The documentation of PhpStorm Variables doesn't contain any useful informations for my problem so I hope that somebody here can help me.
My PhpStorm version is 2019.3 EAP.