From bdad67cf6cee924e3d5c739fe90432d6aab999ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 18 Sep 2021 10:41:59 +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-handler/TestRequest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/http-handler/TestRequest.php b/http-handler/TestRequest.php index 394d4316..577fb750 100644 --- a/http-handler/TestRequest.php +++ b/http-handler/TestRequest.php @@ -21,6 +21,11 @@ class TestRequest private ?ResponseEmitter $response = null; + public function __construct() + { + $this->response = new ResponseEmitter(); + } + /** * @param Request $request