diff --git a/UltiSnips/php.snippets b/UltiSnips/php.snippets index ff3e6f3..465a6c4 100644 --- a/UltiSnips/php.snippets +++ b/UltiSnips/php.snippets @@ -115,7 +115,7 @@ snippet getter "PHP Class Getter" b /** * Getter for $1 * - * ${2:return string} + * @return ${2:string} */ public function get${1/\w+\s*/\u$0/}() { @@ -127,7 +127,7 @@ snippet setter "PHP Class Setter" b /** * Setter for $1 * - * @param ${2:string} $$1 + * @param ${2:string} $$1 * @return ${3:`!p snip.rv=snip.basename`} */ public function set${1/\w+\s*/\u$0/}(${4:${2/(void|string|int|integer|double|float|object|boolear|null|mixed|number|resource)|(.*)/(?1::$2 )/}}$$1) @@ -143,7 +143,7 @@ snippet gs "PHP Class Getter Setter" b /** * Getter for $1 * - * return ${2:string} + * @return ${2:string} */ public function get${1/\w+\s*/\u$0/}() { @@ -316,7 +316,7 @@ if m: */ interface $1 { - public function ${3:someFunction}();$4 + public function ${3:someFunction}();$4 } endsnippet