Skip to content

Commit a2a44d4

Browse files
author
Cristian Partica
committed
MAGETWO-35688: [FPT] Final price of Simple Product isn't recalculated after selecting options on product page
- fix for code integrity on static tests
1 parent 7f3e500 commit a2a44d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Weee/Model/Observer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ class Observer extends \Magento\Framework\Model\AbstractModel
4545
protected $productTypeConfig;
4646

4747
/**
48-
* @param \Magento\Tax\Helper\Data $taxData
4948
* @param \Magento\Framework\Model\Context $context
5049
* @param \Magento\Framework\Registry $registry
5150
* @param \Magento\Framework\View\LayoutInterface $layout
5251
* @param Tax $weeeTax
5352
* @param \Magento\Weee\Helper\Data $weeeData
53+
* @param \Magento\Tax\Helper\Data $taxData
5454
* @param \Magento\Catalog\Model\Product\Type $productType
5555
* @param \Magento\Catalog\Model\ProductTypes\ConfigInterface $productTypeConfig
5656
* @param \Magento\Framework\Model\Resource\AbstractResource $resource
@@ -59,21 +59,21 @@ class Observer extends \Magento\Framework\Model\AbstractModel
5959
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
6060
*/
6161
public function __construct(
62-
\Magento\Tax\Helper\Data $taxData,
6362
\Magento\Framework\Model\Context $context,
6463
\Magento\Framework\Registry $registry,
6564
\Magento\Framework\View\LayoutInterface $layout,
6665
Tax $weeeTax,
6766
\Magento\Weee\Helper\Data $weeeData,
67+
\Magento\Tax\Helper\Data $taxData,
6868
\Magento\Catalog\Model\Product\Type $productType,
6969
\Magento\Catalog\Model\ProductTypes\ConfigInterface $productTypeConfig,
7070
\Magento\Framework\Model\Resource\AbstractResource $resource = null,
7171
\Magento\Framework\Data\Collection\Db $resourceCollection = null,
7272
array $data = []
7373
) {
74-
$this->_taxData = $taxData;
7574
$this->_layout = $layout;
7675
$this->_weeeTax = $weeeTax;
76+
$this->_taxData = $taxData;
7777
$this->_productType = $productType;
7878
$this->_weeeData = $weeeData;
7979
$this->productTypeConfig = $productTypeConfig;

0 commit comments

Comments
 (0)