PHP constructor indentation

I love the autoformatting function (CTRL+ALT+L). But it messes up my constructors.

I know this is intended but I personally dislike the way the variables are being aligned. 

How can I set up phpstorm to have it like this:

Thank you

0

Please try to untick the “Settings/Preferences | Editor | Code Style | PHP > Wrapping and Braces > Function declaration parameters > Align when multiline” option, it should help.
 

0

That was it, thank you!

0

请先登录再写评论。