diff --git a/UltiSnips/php.snippets b/UltiSnips/php.snippets index 9e48930..6d8b138 100644 --- a/UltiSnips/php.snippets +++ b/UltiSnips/php.snippets @@ -230,9 +230,10 @@ endsnippet snippet construct "__construct()" b /** - * @param $2mixed ${1/, /\n * \@param mixed /g} + * @param $2mixed ${1/, /\n * \@param mixed /g} */ -public function __construct(${1:$dependencies}) {${1/\$(\w+)(, )*/\n\t$this->$1 = $$1;/g} +public function __construct(${1:$dependencies}) +{${1/\$(\w+)(, )*/\n $this->$1 = $$1;/g} } $0 endsnippet