add typehint to
This commit is contained in:
parent
38397df34f
commit
fff374a6f7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user