PhpStorm is aligning the brackets from an array.
DB::table('something')->create([
'title' => 'John',
'description' => 'Doe',
]); // I don't want to align it this way...
DB::table('something')->create([
'title' => 'John',
'description' => 'Doe',
]); // But this way...
Where do I change this at Settings/Preferences > Editor > Code Style > PHP
?
Finally figured this out!
Go to Preferences > Editor > Code Style > PHP > Wrapping and Braces. Uncheck Align when multiline
under Function call arguments
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With