File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/internal/Magento/Framework/App Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 13
13
use Magento \Framework \Autoload \Populator ;
14
14
use Magento \Framework \Config \File \ConfigFilePool ;
15
15
use Magento \Framework \Filesystem \DriverPool ;
16
+ use Magento \Framework \HTTP \PhpEnvironment \Response ;
16
17
use Psr \Log \LoggerInterface ;
17
18
18
19
/**
@@ -428,8 +429,8 @@ public function isDeveloperMode()
428
429
*/
429
430
protected function terminate (\Throwable $ e )
430
431
{
431
- /** @var \Magento\Framework\HTTP\PhpEnvironment\ Response $response */
432
- $ response = $ this ->objectManager ->get (\ Magento \ Framework \ HTTP \ PhpEnvironment \ Response::class);
432
+ /** @var Response $response */
433
+ $ response = $ this ->objectManager ->get (Response::class);
433
434
$ response ->clearHeaders ();
434
435
$ response ->setHttpResponseCode (500 );
435
436
$ response ->setHeader ('Content-Type ' , 'text/plain ' );
You can’t perform that action at this time.
0 commit comments