From 9ca2d6634d07b182aa492e8d04b1e758760b8df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 9 Sep 2021 17:08:51 +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-server/Constrict/Response.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/http-server/Constrict/Response.php b/http-server/Constrict/Response.php index 45827c66..420f15e8 100644 --- a/http-server/Constrict/Response.php +++ b/http-server/Constrict/Response.php @@ -285,7 +285,7 @@ class Response implements ResponseInterface /** * @return string|null */ - public function getAccessControlAllowOrigin(): ?string + #[Pure] public function getAccessControlAllowOrigin(): ?string { return $this->__call__()->{__FUNCTION__}(); } @@ -294,7 +294,7 @@ class Response implements ResponseInterface /** * @return string|null */ - public function getAccessControlAllowHeaders(): ?string + #[Pure] public function getAccessControlAllowHeaders(): ?string { return $this->__call__()->{__FUNCTION__}(); } @@ -303,7 +303,7 @@ class Response implements ResponseInterface /** * @return string|null */ - public function getAccessControlRequestMethod(): ?string + #[Pure] public function getAccessControlRequestMethod(): ?string { return $this->__call__()->{__FUNCTION__}(); }