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
2727 protected $ _symbolsData = [];
2828
2929 /**
30- * Store id
30+ * Current store id
3131 *
3232 * @var string|null
3333 */
3434 protected $ _storeId ;
3535
3636 /**
37- * Website id
37+ * Current website id
3838 *
3939 * @var string|null
4040 */
@@ -55,19 +55,19 @@ class Currencysymbol
5555 /**
5656 * Config path to custom currency symbol value
5757 */
58- const XML_PATH_CUSTOM_CURRENCY_SYMBOL = 'currency/options/customsymbol ' ;
58+ public const XML_PATH_CUSTOM_CURRENCY_SYMBOL = 'currency/options/customsymbol ' ;
5959
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 ;
6161
6262 /*
6363 * Separator used in config in allowed currencies list
6464 */
65- const ALLOWED_CURRENCIES_CONFIG_SEPARATOR = ', ' ;
65+ public const ALLOWED_CURRENCIES_CONFIG_SEPARATOR = ', ' ;
6666
6767 /**
6868 * Config currency section
6969 */
70- const CONFIG_SECTION = 'currency ' ;
70+ public const CONFIG_SECTION = 'currency ' ;
7171
7272 /**
7373 * Core event manager proxy
@@ -193,7 +193,7 @@ public function getCurrencySymbolsData()
193193 public function setCurrencySymbolsData ($ symbols = [])
194194 {
195195 if (!$ this ->_storeManager ->isSingleStoreMode ()) {
196- foreach ($ this ->getCurrencySymbolsData () as $ code => $ values ) {
196+ foreach (array_keys ( $ this ->getCurrencySymbolsData ()) as $ code ) {
197197 if (isset ($ symbols [$ code ]) && empty ($ symbols [$ code ])) {
198198 unset($ symbols [$ code ]);
199199 }
You can’t perform that action at this time.
0 commit comments