From 0c7275f5b1b49767243b4354ec921df3083fc197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Sun, 16 Apr 2023 14:24:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Constrict/Message.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Constrict/Message.php b/src/Constrict/Message.php index 8e9d4fb..c05d2f7 100644 --- a/src/Constrict/Message.php +++ b/src/Constrict/Message.php @@ -37,10 +37,8 @@ class Message extends Component implements MessageInterface /** * */ - public function __construct() + public function init(): void { - parent::__construct(); - $this->stream = new Stream(); } @@ -193,7 +191,7 @@ class Message extends Component implements MessageInterface /** * Retrieves a comma-separated string of the values for a single header. * - * This method returns all of the header values of the given + * This method returns all the header values of the given * case-insensitive header name as a string concatenated together using * a comma. *