Reputation: 440
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;
}
Upvotes: 17
Views: 3443
Reputation: 390
In 2023 it would be Editor -> Intentions -> PHP, and then uncheck
"Generate PHPDoc"
Upvotes: -1
Reputation: 646
Perferences->Editor->File and Code Templates->Code(tab)->PHP Getter Method/PHP Setter Method
Upvotes: 32