Skip to content

Commit ba83889

Browse files
Stanislav Idolovisitnikov
authored andcommitted
MAGETWO-53793: Minicart Maximum Display Recently Added Item is broken #4750
1 parent 0530a78 commit ba83889

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,10 @@ public function getBaseUrl()
181181
/**
182182
* Return max visible item count for minicart
183183
*
184+
* @codeCoverageIgnore
184185
* @return int
185186
*/
186-
private function getMiniCartMaxItemsCount()
187+
protected function getMiniCartMaxItemsCount()
187188
{
188189
return (int)$this->_scopeConfig->getValue('checkout/sidebar/count', ScopeInterface::SCOPE_STORE);
189190
}

0 commit comments

Comments
 (0)