Skip to content

Commit 2dbdde5

Browse files
committed
[CS] [5.2] Replace easy occurrences of ?: with ??
1 parent aa41bd0 commit 2dbdde5

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
@@ -114,7 +114,7 @@ public function __construct(array $connectionOptions, array $exchangeOptions, ar
114114
], $connectionOptions);
115115
$this->exchangeOptions = $exchangeOptions;
116116
$this->queuesOptions = $queuesOptions;
117-
$this->amqpFactory = $amqpFactory ?: new AmqpFactory();
117+
$this->amqpFactory = $amqpFactory ?? new AmqpFactory();
118118
}
119119

120120
/**

0 commit comments

Comments
 (0)