Skip to content

Commit 02dc040

Browse files
Oleksii KorshenkoRus0
andauthored
Update app/code/Magento/Sales/Model/Order/Creditmemo/Total/Discount.php
Co-Authored-By: Rus0 <andonid88@gmail.com>
1 parent d3e576f commit 02dc040

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/Model/Order/Creditmemo/Total

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/Creditmemo/Total/Discount.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function collect(\Magento\Sales\Model\Order\Creditmemo $creditmemo)
3434
*/
3535
if ($baseShippingAmount && $order->getBaseShippingAmount() <= 0) {
3636
throw new \Magento\Framework\Exception\LocalizedException(
37-
new \Magento\Framework\Phrase("You can not refund shipping if there is no shipping amount.",[])
37+
new \Magento\Framework\Phrase("You can not refund shipping if there is no shipping amount.", [])
3838
);
3939
}
4040
if ($baseShippingAmount) {

0 commit comments

Comments
 (0)