File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
app/code/Magento/CurrencySymbol/Model/System Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ class Currencysymbol
27
27
protected $ _symbolsData = [];
28
28
29
29
/**
30
- * Store id
30
+ * Current store id
31
31
*
32
32
* @var string|null
33
33
*/
34
34
protected $ _storeId ;
35
35
36
36
/**
37
- * Website id
37
+ * Current website id
38
38
*
39
39
* @var string|null
40
40
*/
@@ -55,19 +55,19 @@ class Currencysymbol
55
55
/**
56
56
* Config path to custom currency symbol value
57
57
*/
58
- const XML_PATH_CUSTOM_CURRENCY_SYMBOL = 'currency/options/customsymbol ' ;
58
+ public const XML_PATH_CUSTOM_CURRENCY_SYMBOL = 'currency/options/customsymbol ' ;
59
59
60
- const XML_PATH_ALLOWED_CURRENCIES = \Magento \Directory \Model \Currency::XML_PATH_CURRENCY_ALLOW ;
60
+ public const XML_PATH_ALLOWED_CURRENCIES = \Magento \Directory \Model \Currency::XML_PATH_CURRENCY_ALLOW ;
61
61
62
62
/*
63
63
* Separator used in config in allowed currencies list
64
64
*/
65
- const ALLOWED_CURRENCIES_CONFIG_SEPARATOR = ', ' ;
65
+ public const ALLOWED_CURRENCIES_CONFIG_SEPARATOR = ', ' ;
66
66
67
67
/**
68
68
* Config currency section
69
69
*/
70
- const CONFIG_SECTION = 'currency ' ;
70
+ public const CONFIG_SECTION = 'currency ' ;
71
71
72
72
/**
73
73
* Core event manager proxy
@@ -193,7 +193,7 @@ public function getCurrencySymbolsData()
193
193
public function setCurrencySymbolsData ($ symbols = [])
194
194
{
195
195
if (!$ this ->_storeManager ->isSingleStoreMode ()) {
196
- foreach ($ this ->getCurrencySymbolsData () as $ code => $ values ) {
196
+ foreach (array_keys ( $ this ->getCurrencySymbolsData ()) as $ code ) {
197
197
if (isset ($ symbols [$ code ]) && empty ($ symbols [$ code ])) {
198
198
unset($ symbols [$ code ]);
199
199
}
You can’t perform that action at this time.
0 commit comments