Skip to content

Commit 888a9f3

Browse files
author
John Carlo Octabio
committed
#108: Clear Shopping Cart - Refactor initial changes to remove diff in PR
1 parent ee29f5f commit 888a9f3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/code/Magento/Checkout/Block/Cart/Grid.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ protected function _construct()
103103

104104
/**
105105
* {@inheritdoc}
106-
*
107106
* @since 100.2.0
108107
*/
109108
protected function _prepareLayout()
@@ -148,7 +147,6 @@ public function getItemsForGrid()
148147

149148
/**
150149
* {@inheritdoc}
151-
*
152150
* @since 100.2.0
153151
*/
154152
public function getItems()

app/code/Magento/Checkout/ViewModel/Cart.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
use Magento\Framework\App\Config\ScopeConfigInterface;
55
use Magento\Framework\View\Element\Block\ArgumentInterface;
66
use Magento\Framework\View\Element\Context;
7+
use Magento\Store\Model\ScopeInterface;
78

89
class Cart implements ArgumentInterface
910
{
@@ -37,7 +38,7 @@ public function isClearShoppingCartEnabled()
3738
{
3839
return (bool) $this->_scopeConfig->getValue(
3940
self::XPATH_CONFIG_ENABLE_CLEAR_SHOPPING_CART,
40-
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
41+
ScopeInterface::SCOPE_STORE
4142
);
4243
}
4344
}

0 commit comments

Comments
 (0)