Skip to content

Commit 48c0025

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: [CS] [5.2] Replace easy occurrences of ?: with ??
2 parents 3ef114e + 2dbdde5 commit 48c0025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function __construct(array $connectionOptions, array $exchangeOptions, ar
117117
$this->autoSetupExchange = $this->autoSetup = $connectionOptions['auto_setup'] ?? true;
118118
$this->exchangeOptions = $exchangeOptions;
119119
$this->queuesOptions = $queuesOptions;
120-
$this->amqpFactory = $amqpFactory ?: new AmqpFactory();
120+
$this->amqpFactory = $amqpFactory ?? new AmqpFactory();
121121
}
122122

123123
/**

0 commit comments

Comments
 (0)