Skip to content

Commit

Permalink
magento#14020-Cart-Sales-Rule-with-negated-condition-over-special-pri…
Browse files Browse the repository at this point in the history
…ce-does-not-work-for-configurable-products.

Made getProductToValidate method private according to Technical Guideline (2.7)
  • Loading branch information
novikor committed Jul 4, 2018
1 parent fae98c0 commit 9a35b45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected function _addSpecialAttributes(array &$attributes)
* @return \Magento\Catalog\Api\Data\ProductInterface|\Magento\Catalog\Model\Product
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
protected function getProductToValidate(\Magento\Framework\Model\AbstractModel $model)
private function getProductToValidate(\Magento\Framework\Model\AbstractModel $model)
{
/** @var \Magento\Catalog\Model\Product $product */
$product = $model->getProduct();
Expand Down

0 comments on commit 9a35b45

Please sign in to comment.