Reputation: 1366
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
)
Upvotes: 13
Views: 2119
Reputation: 14269
I believe the relevant configuration toggle is shown on the picture
If the picture does not load:
Upvotes: 23