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 e2c8bdd + 70c0adb commit 04bb847Copy full SHA for 04bb847
Tests/Transport/RedisTransportTest.php
@@ -52,8 +52,8 @@ public function testReceivesMessages()
52
53
private function getTransport(SerializerInterface $serializer = null, Connection $connection = null): RedisTransport
54
{
55
- $serializer = $serializer ?: $this->createMock(SerializerInterface::class);
56
- $connection = $connection ?: $this->createMock(Connection::class);
+ $serializer = $serializer ?? $this->createMock(SerializerInterface::class);
+ $connection = $connection ?? $this->createMock(Connection::class);
57
58
return new RedisTransport($connection, $serializer);
59
}
0 commit comments