Merge pull request #127 from nulpunkt/master

PHP: Make construct snippet PSR compliant.
This commit is contained in:
Holger Rapp 2014-01-12 21:35:00 -08:00
commit 8a3f34b561

View File

@ -232,7 +232,8 @@ snippet construct "__construct()" b
/**
* @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