From daf95b8737cab16ccd7a00d43897641dd6e7071f Mon Sep 17 00:00:00 2001 From: neeta-wagento <neeta@wagento.com> Date: Sun, 7 Jan 2018 15:37:37 +0530 Subject: [PATCH] make existing non usable constructor parameter as null --- .../Quote/Validator/MinimumOrderAmount/ValidationMessage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Quote/Model/Quote/Validator/MinimumOrderAmount/ValidationMessage.php b/app/code/Magento/Quote/Model/Quote/Validator/MinimumOrderAmount/ValidationMessage.php index 1854689e7ae..791775d1108 100644 --- a/app/code/Magento/Quote/Model/Quote/Validator/MinimumOrderAmount/ValidationMessage.php +++ b/app/code/Magento/Quote/Model/Quote/Validator/MinimumOrderAmount/ValidationMessage.php @@ -37,7 +37,7 @@ class ValidationMessage public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Store\Model\StoreManagerInterface $storeManager, - \Magento\Framework\Locale\CurrencyInterface $currency, + \Magento\Framework\Locale\CurrencyInterface $currency = null, \Magento\Framework\Pricing\Helper\Data $priceHelper ) { $this->scopeConfig = $scopeConfig; -- GitLab