diff --git a/http-server/Constrict/Response.php b/http-server/Constrict/Response.php index 219909c9..45827c66 100644 --- a/http-server/Constrict/Response.php +++ b/http-server/Constrict/Response.php @@ -253,30 +253,30 @@ class Response implements ResponseInterface /** - * @param string $value + * @param string|null $value * @return ResponseInterface */ - public function withAccessControlAllowOrigin(string $value): ResponseInterface + public function withAccessControlAllowOrigin(?string $value): ResponseInterface { return $this->__call__()->{__FUNCTION__}($value); } /** - * @param string $value + * @param string|null $value * @return ResponseInterface */ - public function withAccessControlRequestMethod(string $value): ResponseInterface + public function withAccessControlRequestMethod(?string $value): ResponseInterface { return $this->__call__()->{__FUNCTION__}($value); } /** - * @param string $value + * @param string|null $value * @return ResponseInterface */ - public function withAccessControlAllowHeaders(string $value): ResponseInterface + public function withAccessControlAllowHeaders(?string $value): ResponseInterface { return $this->__call__()->{__FUNCTION__}($value); }