File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
app/code/Magento/Customer/Controller/Ajax Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,10 @@ public function __construct(
98
98
$ this ->customerAccountManagement = $ customerAccountManagement ;
99
99
$ this ->resultJsonFactory = $ resultJsonFactory ;
100
100
$ this ->resultRawFactory = $ resultRawFactory ;
101
- $ this ->cookieManager = $ cookieManager ?: ObjectManager::getInstance ()->get (CookieManagerInterface::class);
102
- $ this ->cookieMetadataFactory = $ cookieMetadataFactory ?: ObjectManager::getInstance ()->get (CookieMetadataFactory::class);
101
+ $ this ->cookieManager = $ cookieManager ?:
102
+ ObjectManager::getInstance ()->get (CookieManagerInterface::class);
103
+ $ this ->cookieMetadataFactory = $ cookieMetadataFactory ?:
104
+ ObjectManager::getInstance ()->get (CookieMetadataFactory::class);
103
105
}
104
106
105
107
/**
You can’t perform that action at this time.
0 commit comments