From 9946c23c4fd2cc3b17f6ccd85b898316e4a3fde9 Mon Sep 17 00:00:00 2001 From: Stuart Grimshaw Date: Thu, 22 Dec 2011 15:40:48 +0000 Subject: [PATCH] Fixed re-use of snippet data --- snippets/php.snippets | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 }