add typehint to function

This commit is contained in:
chrisyue 2012-07-27 20:04:48 +08:00
parent 4a8ba6ff5b
commit 4d13e42868

View File

@ -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