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.
1 parent cf309a3 commit aa41bd0Copy full SHA for aa41bd0
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