Skip to content

Commit

Permalink
remove useless if
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoît Lévêque committed Jan 7, 2020
1 parent d6eb41a commit d6559f6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/sqs/SqsConsumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,6 @@ protected function convertMessage(array $sqsMessage): SqsMessage
{
$message = $this->context->createMessage();

if (isset($sqsMessage['MessageId'])) {
$message->setMessageId($sqsMessage['MessageId']);
}

$message->setBody($sqsMessage['Body']);
$message->setReceiptHandle($sqsMessage['ReceiptHandle']);

Expand Down

0 comments on commit d6559f6

Please sign in to comment.