Skip to content

Commit

Permalink
fix: fix kernel alias for request (#365)
Browse files Browse the repository at this point in the history
- application container register request as string not class-string
  • Loading branch information
SonyPradana authored Jul 25, 2024
1 parent 1d656c4 commit 373a3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System/Integrate/Http/Karnel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 373a3a5

Please sign in to comment.