改名
This commit is contained in:
@@ -150,12 +150,12 @@ class Response extends HttpService
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $context
|
* @param string|null $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(?string $context = '', int $statusCode = 200): mixed
|
||||||
{
|
{
|
||||||
$sendData = $this->parseData($context);
|
$sendData = $this->parseData($context);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user