Skip to content

Commit f11aab0

Browse files
hotfix
1 parent 08ebc42 commit f11aab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/Serialization/PhpSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function decode(array $encodedEnvelope): Envelope
2929
throw new MessageDecodingFailedException('Encoded envelope should have at least a "body".');
3030
}
3131

32-
if (str_ends_with($encodedEnvelope['body'], '}')) {
32+
if (!str_ends_with($encodedEnvelope['body'], '}')) {
3333
$encodedEnvelope['body'] = base64_decode($encodedEnvelope['body']);
3434
}
3535

0 commit comments

Comments
 (0)