diff --git a/HttpServer/Http/Response.php b/HttpServer/Http/Response.php index 46493d7c..fc3d7875 100644 --- a/HttpServer/Http/Response.php +++ b/HttpServer/Http/Response.php @@ -295,7 +295,7 @@ class Response extends HttpService public static function create($response = null): static { Context::setContext('response', $response); - $ciResponse = Snowflake::getDi()->get(SResponse::class); + $ciResponse = Snowflake::getDi()->get(Response::class); $ciResponse->startTime = microtime(true); $ciResponse->format = self::JSON; return $ciResponse;