diff --git a/snippets/php.snippets b/snippets/php.snippets index e2f25d8..961539a 100644 --- a/snippets/php.snippets +++ b/snippets/php.snippets @@ -250,21 +250,21 @@ snippet http_redirect # Getters & Setters snippet getset /** - * Gets the value of ${1} + * Gets the value of ${1:} * * @return ${2} */ - function get${1}() + function get$1() { - return $this->$_{1} + return $this->$_$1 } /** - * Sets the value of ${1} + * Sets the value of $1 * - * @param mixed $lcl${1} ${3} + * @param mixed $$1 ${3} */ - function set${1}($lcl${1}) + function set$1($$1) { - $this->_${1} = $lcl${1} + $this->_$1 = $$1 }