File tree 2 files changed +7
-2
lines changed
lib/internal/Magento/Framework/App/Response 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 273
273
<argument name =" pathInfoProcessor" xsi : type =" object" >Magento\Backend\App\Request\PathInfoProcessor\Proxy</argument >
274
274
</arguments >
275
275
</type >
276
+ <type name =" Magento\Framework\App\Response\Http" >
277
+ <arguments >
278
+ <argument name =" sessionConfig" xsi : type =" object" >Magento\Framework\Session\Config\ConfigInterface\Proxy</argument >
279
+ </arguments >
280
+ </type >
276
281
<preference for =" Magento\Framework\Session\SaveHandlerInterface" type =" Magento\Framework\Session\SaveHandler" />
277
282
<type name =" Magento\Framework\Session\SaveHandlerFactory" >
278
283
<arguments >
Original file line number Diff line number Diff line change @@ -71,14 +71,14 @@ public function __construct(
71
71
CookieMetadataFactory $ cookieMetadataFactory ,
72
72
Context $ context ,
73
73
DateTime $ dateTime ,
74
- ConfigInterface $ sessionConfig = null
74
+ ConfigInterface $ sessionConfig
75
75
) {
76
76
$ this ->request = $ request ;
77
77
$ this ->cookieManager = $ cookieManager ;
78
78
$ this ->cookieMetadataFactory = $ cookieMetadataFactory ;
79
79
$ this ->context = $ context ;
80
80
$ this ->dateTime = $ dateTime ;
81
- $ this ->sessionConfig = $ sessionConfig ?: ObjectManager:: getInstance ()-> get (ConfigInterface::class) ;
81
+ $ this ->sessionConfig = $ sessionConfig ;
82
82
}
83
83
84
84
/**
You can’t perform that action at this time.
0 commit comments