From 4d13e42868cb121745a8ee8c0d20c3c64515a6a4 Mon Sep 17 00:00:00 2001 From: chrisyue Date: Fri, 27 Jul 2012 20:04:48 +0800 Subject: [PATCH] add typehint to function --- snippets/php.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/php.snippets b/snippets/php.snippets index a7ee9a7..270b4a6 100644 --- a/snippets/php.snippets +++ b/snippets/php.snippets @@ -28,9 +28,9 @@ snippet i snippet $t $this->${1:foo} snippet f - function ${1:foo}(${2}) + function ${1:foo}(${2:array }$${3:bar}) { - ${3:echo 'hello world';} + ${4} } # method snippet m