Skip to content

Commit 0111bf9

Browse files
Merge branch '4.4' into 5.2
* 4.4: hotfix
2 parents db754b4 + f11aab0 commit 0111bf9

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)