Description
Originally posted by @mdeboer:
I'm absolutely in love with the getter/setter generation except that I always have to do a round of regex replace to get all docblocks how I want them.
For instance I want to have one space between parentheses and colon for return type declaration like public function foo() : void
, except it doesn't. Also it adds @return static
on setters instead of @return MyClass
with a return type declaration, like I would want it to. It's a fine standard but I'm just picky 😆
Anyway I've seen other (outdated) packages that allows you to set a getter and setter template. Even if it were only for the docblocks it would be amazing to have. Or if templates are not the way to go for some reason, I wouldn't mind having some settings to tweak the things I mentioned above.