phpstorm函数注释设置时间:2024-03-12 19:27:40 首先,PhpStorm中文件、类、函数等注释的设置在:setting-》Editor-》FIle and Code Template-》Includes,如下图 PHP Function Doc Comment 增加如下注释 /** ${PARAM_DOC} #if (${TYPE_HINT} != "void") * @return ${TYPE_HINT} #end ${THROWS_DOC} * User: liangyuquan * Date: ${DATE} ${TIME} */