From fff374a6f7a479727e878c7b5f35a320cf76a896 Mon Sep 17 00:00:00 2001 From: chrisyue Date: Fri, 27 Jul 2012 20:34:02 +0800 Subject: [PATCH] add typehint to --- snippets/php.snippets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snippets/php.snippets b/snippets/php.snippets index 270b4a6..b44569f 100644 --- a/snippets/php.snippets +++ b/snippets/php.snippets @@ -28,15 +28,15 @@ snippet i snippet $t $this->${1:foo} snippet f - function ${1:foo}(${2:array }$${3:bar}) + function ${1:foo}(${2:array }${3:$bar}) { ${4} } # method snippet m - ${1:abstract }${2:protected}${3: static} function ${4:foo}(${5}) + ${1:abstract }${2:protected}${3: static} function ${4:foo}(${5:array }${6:$bar}) { - ${6} + ${7} } # setter method # I think vim's functions will not be called at the snipMate's runtime