改名
This commit is contained in:
+596
-587
File diff suppressed because it is too large
Load Diff
+1
-2
@@ -4,7 +4,6 @@ defined('APP_PATH') or define('APP_PATH', realpath(__DIR__ . '/../../'));
|
|||||||
|
|
||||||
|
|
||||||
use Annotation\Annotation;
|
use Annotation\Annotation;
|
||||||
use HttpServer\Http\Context;
|
|
||||||
use HttpServer\Http\HttpParams;
|
use HttpServer\Http\HttpParams;
|
||||||
use HttpServer\Http\Request;
|
use HttpServer\Http\Request;
|
||||||
use HttpServer\Http\Response;
|
use HttpServer\Http\Response;
|
||||||
@@ -484,7 +483,7 @@ if (!function_exists('request')) {
|
|||||||
*/
|
*/
|
||||||
function request(): Request
|
function request(): Request
|
||||||
{
|
{
|
||||||
return Context::getContext(Request::class);
|
return Snowflake::getFactory()->get('request');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user