Skip to content
Browse files

Fixed PSR-01 compliance

  • Loading branch information...
1 parent db4332d commit bdb10b11e1fb67f5557c577e2ee014123ec58058 @Stubbs Stubbs committed Oct 12, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 php-getset.sublime-snippet
View
3 php-getset.sublime-snippet
@@ -39,8 +39,7 @@ public function get${1/(.*)/\u$1/:[ Prop name ]}() {
*
* @param ${3/(.*)/\u$1/:[type]} \$new${1:[ Prop name ]} ${4/(.*)/\u$1/:[description]}
*/
-public function set${1/(.*)/\u$1/:[ Prop name ]}(\$${1/(.*)/$1/:[ Prop name ]})
-{
+public function set${1/(.*)/\u$1/:[ Prop name ]}(\$${1/(.*)/$1/:[ Prop name ]}) {
\$this->${1:[Prop name ]} = \$${1/(.*)/$1/:[ Prop name ]};
return \$this;

0 comments on commit bdb10b1

Please sign in to comment.
Something went wrong with that request. Please try again.