From 373a3a5ef8d257033eb7f7f3158e64cf72fa64cf Mon Sep 17 00:00:00 2001 From: Angger Pradana Date: Thu, 25 Jul 2024 10:47:25 +0700 Subject: [PATCH] fix: fix kernel alias for request (#365) - application container register request as string not class-string --- src/System/Integrate/Http/Karnel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System/Integrate/Http/Karnel.php b/src/System/Integrate/Http/Karnel.php index 801ab1cd..36dc2d50 100644 --- a/src/System/Integrate/Http/Karnel.php +++ b/src/System/Integrate/Http/Karnel.php @@ -55,7 +55,7 @@ public function __construct(Application $app) */ public function handle(Request $request) { - $this->app->set(Request::class, $request); + $this->app->set('request', $request); try { $this->bootstrap();