Skip to content

Commit

Permalink
KafkaTransport: fix assignment, thx @Kelthan
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinCodes committed Dec 2, 2020
1 parent 09ecc6d commit badc62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Messenger/KafkaTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private function getSender(): KafkaSender

private function getReceiver(): KafkaReceiver
{
return $this->receiver ?? $this->sender = new KafkaReceiver(
return $this->receiver ?? $this->receiver = new KafkaReceiver(
$this->logger,
$this->serializer,
$this->rdKafkaFactory,
Expand Down

0 comments on commit badc62a

Please sign in to comment.