Skip to content

Commit 20f677f

Browse files
committed
Fix static tests.
1 parent d43eeb8 commit 20f677f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/Checkout/Model/Layout/AbstractTotalsProcessor.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
67
namespace Magento\Checkout\Model\Layout;
78

89
use Magento\Framework\App\Config\ScopeConfigInterface;
10+
use Magento\Store\Model\ScopeInterface;
911

1012
/**
1113
* Abstract totals processor.
@@ -35,12 +37,14 @@ public function __construct(
3537
}
3638

3739
/**
40+
* Sort total information based on configuration settings.
41+
*
3842
* @param array $totals
3943
* @return array
4044
*/
4145
public function sortTotals($totals)
4246
{
43-
$configData = $this->scopeConfig->getValue('sales/totals_sort', \Magento\Store\Model\ScopeInterface::SCOPE_STORES);
47+
$configData = $this->scopeConfig->getValue('sales/totals_sort', ScopeInterface::SCOPE_STORES);
4448
foreach ($totals as $code => &$total) {
4549
//convert JS naming style to config naming style
4650
$code = str_replace('-', '_', $code);

0 commit comments

Comments
 (0)