Skip to content

Commit 163c9da

Browse files
likemusicmzeis
authored andcommitted
replace tabs by spaces
1 parent b77ff13 commit 163c9da

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/AttributeFilter.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ public function prepareProductAttributes(Product $product, array $productData, a
3535
return $productData;
3636
}
3737

38-
/**
39-
* @param $product
40-
* @param $useDefaults
41-
* @param $attribute
42-
* @param $value
43-
* @return bool
44-
*/
38+
/**
39+
* @param $product
40+
* @param $useDefaults
41+
* @param $attribute
42+
* @param $value
43+
* @return bool
44+
*/
4545
protected function attributeShouldNotBeUpdated(Product $product, $useDefaults, $attribute, $value)
4646
{
47-
$considerUseDefaultsAttribute = !isset($useDefaults[$attribute]) || $useDefaults[$attribute] === "1";
47+
$considerUseDefaultsAttribute = !isset($useDefaults[$attribute]) || $useDefaults[$attribute] === "1";
4848

49-
return ($value === '' && $considerUseDefaultsAttribute && !$product->getData($attribute));
49+
return ($value === '' && $considerUseDefaultsAttribute && !$product->getData($attribute));
5050
}
5151
}

0 commit comments

Comments
 (0)