Created
May 14, 2014 20:36
-
-
Save mikedugan/2bb4518d41661e193800 to your computer and use it in GitHub Desktop.
PHPStorm automatic doc inserter - go to "File and Code Templates -> Includes -> PHP Function Doc Comment" and copy this in...automatically generates name, params, returns, throws, type, and empty description. To use: ALT+INS on Windows/Linux, CMD+N on Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| #if (${STATIC} == "static") * @type ${STATIC} #end | |
| #if (${STATIC} != "static") * nonstatic #end | |
| * @name ${NAME} | |
| * @description ${CARET} | |
| #if (${PARAM_DOC} != "") ${PARAM_DOC} #end | |
| #if (${THROWS_DOC} != "") ${THROWS_DOC} #end | |
| * @return ${TYPE_HINT} | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment