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.
wb+
1 parent 0102495 commit 8681fd3Copy full SHA for 8681fd3
src/Traits/MessageDecoratorTrait.php
@@ -104,7 +104,7 @@ public function getBody(): StreamInterface
104
$body = $this->message->getContent(true);
105
}
106
107
- return $this->stream = new Stream($body ?? $this->message->getContent());
+ return $this->stream = new Stream($body ?? $this->message->getContent(), 'wb+');
108
109
110
/**
0 commit comments