File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Catalog/Model/Product/Option Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ public function getProduct()
189
189
*/
190
190
public function saveValues ()
191
191
{
192
- foreach ($ this ->getValues () as $ value )
192
+ foreach ($ this ->getValues () as $ value ) {
193
193
$ this ->isDeleted (false );
194
194
$ this ->setData (
195
195
$ value
Original file line number Diff line number Diff line change @@ -98,8 +98,12 @@ 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 ?: ObjectManager::getInstance ()->get (
102
+ CookieManagerInterface::class
103
+ );
104
+ $ this ->cookieMetadataFactory = $ cookieMetadataFactory ?: ObjectManager::getInstance ()->get (
105
+ CookieMetadataFactory::class
106
+ );
103
107
}
104
108
105
109
/**
You can’t perform that action at this time.
0 commit comments