Follows-up
1e680456b4, which removed some array_merge/call_user_func
abstraction, but improved readability a lot, but the absence of a
line break makes it slightly less obvious how and what parameters
are being passed. It's usually either comma-separated segments on
the same line that as the open parenthesis, or one expression per
line.
Change-Id: Ic388cf41ed3ed60d9b47c04392242e40cdcb69b0
private function createService( $name ) {
if ( isset( $this->serviceInstantiators[$name] ) ) {
$service = ( $this->serviceInstantiators[$name] )(
- $this, ...$this->extraInstantiationParams
+ $this,
+ ...$this->extraInstantiationParams
);
// NOTE: when adding more wiring logic here, make sure copyWiring() is kept in sync!
} else {