diff --git a/snippets/php.snippets b/snippets/php.snippets index 9ce93d4..7d569cb 100644 --- a/snippets/php.snippets +++ b/snippets/php.snippets @@ -326,9 +326,9 @@ snippet getset /** * Gets the value of ${1:} * - * @return ${2} + * @return ${2:type} */ - public function get$1() + public function get${3:}() { return $this->$1; } @@ -336,9 +336,11 @@ snippet getset /** * Sets the value of $1 * - * @param mixed $$1 ${3} + * @param $2 $$1 ${4} + * + * @return ${5:`Filename()`} */ - public function set$1($$1) + public function set$3(${6:$2} $$1) { $this->$1 = $$1; return $this;