Make construct snippet PSR compliant.

This commit is contained in:
Jesper Skovgaard Nielsen 2014-01-08 10:14:28 +01:00
parent b5777773ea
commit 9b02aaf865

View File

@ -232,7 +232,8 @@ 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 $0
endsnippet endsnippet