This commit is contained in:
2021-07-07 17:51:02 +08:00
parent adb95af124
commit 565943b76f
+2 -2
View File
@@ -150,12 +150,12 @@ class Response extends HttpService
} }
/** /**
* @param string|null $context * @param mixed $context
* @param int $statusCode * @param int $statusCode
* @return bool * @return bool
* @throws Exception * @throws Exception
*/ */
public function send(?string $context = '', int $statusCode = 200): mixed public function send(mixed $context = '', int $statusCode = 200): mixed
{ {
$sendData = $this->parseData($context); $sendData = $this->parseData($context);