add typehint to

This commit is contained in:
chrisyue 2012-07-27 20:34:02 +08:00
parent 38397df34f
commit fff374a6f7

View File

@ -28,15 +28,15 @@ snippet i
snippet $t snippet $t
$this->${1:foo} $this->${1:foo}
snippet f snippet f
function ${1:foo}(${2:array }$${3:bar}) function ${1:foo}(${2:array }${3:$bar})
{ {
${4} ${4}
} }
# method # method
snippet m 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 # setter method
# I think vim's functions will not be called at the snipMate's runtime # I think vim's functions will not be called at the snipMate's runtime