diff --git a/src/Http/Stream.php b/src/Http/Stream.php index eeef984..c3af964 100644 --- a/src/Http/Stream.php +++ b/src/Http/Stream.php @@ -33,7 +33,7 @@ public function __construct($stream, string $mode = 'r+') $this->stream = $stream; } else { $this->stream = fopen('php://temp', $mode); - $this->stream->write($stream); + $this->write($stream); } }