Skip to content

Commit f3a59a5

Browse files
author
Sergey Shvets
committed
Merge commit 'refs/pull/2185/head' of https://github.com/magento/magento2 into MAGETWO-46671
2 parents 2d6bb43 + 8efbd65 commit f3a59a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/SalesRule/Model/Utility.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,11 @@ public function minFix(
182182
* @param \Magento\SalesRule\Model\Rule\Action\Discount\Data $discountData
183183
* @param \Magento\Quote\Model\Quote\Item\AbstractItem $item
184184
* @return $this
185-
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
186185
*/
187186
public function deltaRoundingFix(
188187
\Magento\SalesRule\Model\Rule\Action\Discount\Data $discountData,
189188
\Magento\Quote\Model\Quote\Item\AbstractItem $item
190189
) {
191-
$store = $item->getQuote()->getStore();
192190
$discountAmount = $discountData->getAmount();
193191
$baseDiscountAmount = $discountData->getBaseAmount();
194192

0 commit comments

Comments
 (0)