We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28249b0 commit 36990f3Copy full SHA for 36990f3
Transport/Serialization/PhpSerializer.php
@@ -29,7 +29,7 @@ public function decode(array $encodedEnvelope): Envelope
29
throw new MessageDecodingFailedException('Encoded envelope should have at least a "body".');
30
}
31
32
- if (!str_contains($encodedEnvelope['body'], '}', -1)) {
+ if (str_ends_with($encodedEnvelope['body'], '}')) {
33
$encodedEnvelope['body'] = base64_decode($encodedEnvelope['body']);
34
35
0 commit comments