Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 9a35b45

Browse files
committed
#14020-Cart-Sales-Rule-with-negated-condition-over-special-price-does-not-work-for-configurable-products.
Made getProductToValidate method private according to Technical Guideline (2.7)
1 parent fae98c0 commit 9a35b45

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/SalesRule/Model/Rule/Condition

1 file changed

+1
-1
lines changed

app/code/Magento/SalesRule/Model/Rule/Condition/Product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected function _addSpecialAttributes(array &$attributes)
3636
* @return \Magento\Catalog\Api\Data\ProductInterface|\Magento\Catalog\Model\Product
3737
* @throws \Magento\Framework\Exception\NoSuchEntityException
3838
*/
39-
protected function getProductToValidate(\Magento\Framework\Model\AbstractModel $model)
39+
private function getProductToValidate(\Magento\Framework\Model\AbstractModel $model)
4040
{
4141
/** @var \Magento\Catalog\Model\Product $product */
4242
$product = $model->getProduct();

0 commit comments

Comments
 (0)