We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d25117 + aa41bd0 commit 3ef114eCopy full SHA for 3ef114e
Tests/Transport/AmqpTransportTest.php
@@ -54,8 +54,8 @@ public function testReceivesMessages()
54
55
private function getTransport(SerializerInterface $serializer = null, Connection $connection = null): AmqpTransport
56
{
57
- $serializer = $serializer ?: $this->createMock(SerializerInterface::class);
58
- $connection = $connection ?: $this->createMock(Connection::class);
+ $serializer = $serializer ?? $this->createMock(SerializerInterface::class);
+ $connection = $connection ?? $this->createMock(Connection::class);
59
60
return new AmqpTransport($connection, $serializer);
61
}
0 commit comments