Php doc changes (#232)

* Change type indent width for phpdoc param tags

phpcs expects one space between @param tag and type
identifier. Checking
http://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.pkg.html
there is only meant to be one space included.

* Remove * at end of phpdoc return tag

The return tag should be the last tag in the phpdoc block and should
not add a extra line for a extra tag.
This commit is contained in:
Thomas Atkinson 2017-10-31 20:48:31 +11:00 committed by Andrea Crotti
parent e28a7391ef
commit ebe3b513df
2 changed files with 2 additions and 3 deletions

View File

@ -4,5 +4,5 @@
# key: *param
# group: annotation
# --
* @param ${1:type} ${2:$variable} ${3:description}${0:
* @param ${1:type} ${2:$variable} ${3:description}${0:
*}

View File

@ -4,5 +4,4 @@
# key: *return
# group: annotation
# --
* @return ${1:type} ${2:description}${0:
*}
* @return ${1:type} ${2:description}