改名
This commit is contained in:
@@ -276,9 +276,8 @@ class Response extends HttpService
|
||||
*/
|
||||
public static function create($response = null): static
|
||||
{
|
||||
Context::setContext('response', $response);
|
||||
$ciResponse = Snowflake::getDi()->get(Response::class);
|
||||
Context::setContext('response', $ciResponse);
|
||||
$ciResponse->response = $response;
|
||||
$ciResponse->startTime = microtime(true);
|
||||
$ciResponse->format = self::JSON;
|
||||
return $ciResponse;
|
||||
|
||||
Reference in New Issue
Block a user