Prevent PhpStorm from arranging constructor arguments like a table

Viewed 37

The arguments of my constructor are written on different lines. When I press Ctrl+Alt+Shift+L to format code PhpStorm adds spaces to the shorter argument types so that the columns become of equal length.

I can't figure out which code style settings is responsible for that. I want to disable it.

What it does:

public function __construct(
    AdvertisingDetailsAdapter $advertisingDetailsAdapter,
    AdAccountService          $adAccountService,
    BusinessManagerService    $businessManagerService
)

What I want:

public function __construct(
    AdvertisingDetailsAdapter $advertisingDetailsAdapter,
    AdAccountService $adAccountService,
    BusinessManagerService $businessManagerService
)
1 Answers

I believe the relevant configuration toggle is shown on the picture

enter image description here

Related