Skip to content

Commit

Permalink
Merge pull request #38 from fractalzombie/bugfix/undefined_property_h…
Browse files Browse the repository at this point in the history
…eaders

Fix headers in KafkaReceiver.php on line 64.
  • Loading branch information
KonstantinCodes authored Oct 25, 2021
2 parents 6471a18 + 6feaf44 commit 90b3e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Messenger/KafkaReceiver.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function get(): iterable

$envelope = $this->serializer->decode([
'body' => $message->payload,
'headers' => $message->headers,
'headers' => $message->headers ?? [],
'key' => $message->key,
'offset' => $message->offset,
'timestamp' => $message->timestamp,
Expand Down

0 comments on commit 90b3e23

Please sign in to comment.