Skip to content

Commit 3adfbba

Browse files
ihorvansachnaydav
authored andcommitted
[Login As Customer] make some constants in config models private
1 parent a0b50bb commit 3adfbba

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/code/Magento/LoginAsCustomer/Model/Config.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ class Config
1919
/**
2020
* Extension config path
2121
*/
22-
const XML_PATH_EXTENSION_ENABLED = 'mfloginascustomer/general/enabled';
23-
const XML_PATH_KEY = 'mfloginascustomer/general/key';
24-
const STORE_VIEW_TO_LOGIN_IN = 'mfloginascustomer/general/store_view_login';
22+
private const XML_PATH_EXTENSION_ENABLED = 'mfloginascustomer/general/enabled';
23+
private const XML_PATH_KEY = 'mfloginascustomer/general/key';
24+
private const STORE_VIEW_TO_LOGIN_IN = 'mfloginascustomer/general/store_view_login';
2525

2626
/**
2727
* @var ScopeConfigInterface

app/code/Magento/LoginAsCustomer/Model/Config/Source/StoreViewLogin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ class StoreViewLogin implements \Magento\Framework\Data\OptionSourceInterface
1616
/**
1717
* @const int
1818
*/
19-
const AUTODETECT = 0;
19+
private const AUTODETECT = 0;
2020

2121
/**
2222
* @const int
2323
*/
24-
const MANUAL = 1;
24+
private const MANUAL = 1;
2525

2626
/**
2727
* Options int

0 commit comments

Comments
 (0)