From bf531d4022116bb670465ebb9e6e0d577088c0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 10 Sep 2021 11:10:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http-message/Response.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/http-message/Response.php b/http-message/Response.php index 6ea446ac..54e41897 100644 --- a/http-message/Response.php +++ b/http-message/Response.php @@ -25,6 +25,15 @@ class Response implements ResponseInterface protected string $reasonPhrase = ''; + /** + * __construct + */ + public function __construct() + { + $this->stream = new Stream(); + } + + /** * @return int */