Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to remove automatically generated comments when generating Getters and Setters in PhpStorm

Tags:

Is it possible to change the settings in PhpStorm, so I get the function(s) without the comments? It's really unpleasant to remove all the comments when there are 20+ variables.

/**
* @return mixed
*/
public function getFoo() {
    return $this->foo;
}
like image 463
Bojan Radaković Avatar asked Jul 29 '16 13:07

Bojan Radaković


1 Answers

Perferences->Editor->File and Code Templates->Code(tab)->PHP Getter Method/PHP Setter Method

like image 67
omxv Avatar answered Sep 28 '22 02:09

omxv