File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
app/code/Magento/Checkout/Helper Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,11 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper
22
22
23
23
const XML_PATH_CUSTOMER_MUST_BE_LOGGED = 'checkout/options/customer_must_be_logged ' ;
24
24
25
- const XML_PATH_DISPLAY_BILLING_ADDRESS_ON = 'checkout/options/display_billing_address_on ' ;
25
+ /**
26
+ * @deprecated Need to be replaced by constant
27
+ * @var string
28
+ */
29
+ private $ xmlPathDisplayBillingAddressOn = 'checkout/options/display_billing_address_on ' ;
26
30
27
31
/**
28
32
* @var \Magento\Store\Model\StoreManagerInterface
@@ -414,7 +418,7 @@ public function isCustomerMustBeLogged()
414
418
public function isDisplayBillingOnPaymentMethodAvailable ()
415
419
{
416
420
return (bool ) !$ this ->scopeConfig ->getValue (
417
- self :: XML_PATH_DISPLAY_BILLING_ADDRESS_ON ,
421
+ $ this -> xmlPathDisplayBillingAddressOn ,
418
422
ScopeInterface::SCOPE_STORE
419
423
);
420
424
}
You can’t perform that action at this time.
0 commit comments