1010use Exception ;
1111use InvalidArgumentException ;
1212use Magento \Framework \App ;
13+ use Magento \Framework \App \Bootstrap ;
1314use Magento \Framework \App \ExceptionHandlerInterface ;
1415use Magento \Framework \App \FrontControllerInterface as FrontController ;
1516use Magento \Framework \App \HttpRequestInterface ;
16- use Magento \Framework \App \Response \Http ;
17+ use Magento \Framework \App \Response \Http as HttpResponse ;
1718use Magento \Framework \App \Response \HttpInterface ;
19+ use Magento \Framework \App \Request \Http as HttpRequest ;
1820use Magento \Framework \AppInterface ;
1921use Magento \Framework \Controller \ResultInterface ;
2022use Magento \Framework \Event \Manager ;
@@ -28,8 +30,8 @@ public function __construct(
2830 private Manager $ eventManager ,
2931 private Registry $ registry ,
3032 private ExceptionHandlerInterface $ exceptionHandler ,
31- private Http $ response ,
32- private App \ Request \ Http $ request ,
33+ private HttpResponse $ response ,
34+ private HttpRequest $ request ,
3335 ) {}
3436
3537 /**
@@ -57,7 +59,7 @@ public function launch(): HttpInterface
5759 /**
5860 * @inheritdoc
5961 */
60- public function catchException (App \ Bootstrap $ bootstrap , Exception $ exception ): bool
62+ public function catchException (Bootstrap $ bootstrap , Exception $ exception ): bool
6163 {
6264 return $ this ->exceptionHandler ->handle ($ bootstrap , $ exception , $ this ->response , $ this ->request );
6365 }
0 commit comments