Skip to content

Commit aa7da30

Browse files
author
Volodymyr Kublytskyi
committed
Stabilization magento-partners/magento2ce#83
1 parent f61aa38 commit aa7da30

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

app/code/Magento/Catalog/Model/Product/Option/Value.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function getProduct()
189189
*/
190190
public function saveValues()
191191
{
192-
foreach ($this->getValues() as $value)
192+
foreach ($this->getValues() as $value) {
193193
$this->isDeleted(false);
194194
$this->setData(
195195
$value

app/code/Magento/Customer/Controller/Ajax/Login.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,12 @@ public function __construct(
9898
$this->customerAccountManagement = $customerAccountManagement;
9999
$this->resultJsonFactory = $resultJsonFactory;
100100
$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+
);
103107
}
104108

105109
/**

0 commit comments

Comments
 (0)