File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Illuminate/Foundation Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2222use Illuminate \Support \Str ;
2323use RuntimeException ;
2424use Symfony \Component \HttpFoundation \Request as SymfonyRequest ;
25+ use Symfony \Component \HttpFoundation \Response as SymfonyResponse ;
2526use Symfony \Component \HttpKernel \Exception \HttpException ;
2627use Symfony \Component \HttpKernel \Exception \NotFoundHttpException ;
2728use Symfony \Component \HttpKernel \HttpKernelInterface ;
@@ -959,7 +960,7 @@ protected function fireAppCallbacks(array $callbacks)
959960 /**
960961 * {@inheritdoc}
961962 */
962- public function handle (SymfonyRequest $ request , int $ type = self ::MASTER_REQUEST , bool $ catch = true )
963+ public function handle (SymfonyRequest $ request , int $ type = self ::MAIN_REQUEST , bool $ catch = true ): SymfonyResponse
963964 {
964965 return $ this [HttpKernelContract::class]->handle (Request::createFromBase ($ request ));
965966 }
You can’t perform that action at this time.
0 commit comments