File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Directory/Model Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ class Currency extends \Magento\Framework\Model\AbstractModel
28
28
/**
29
29
* CONFIG path constants
30
30
*/
31
- public const XML_PATH_CURRENCY_ALLOW = 'currency/options/allow ' ;
31
+ const XML_PATH_CURRENCY_ALLOW = 'currency/options/allow ' ;
32
32
33
- public const XML_PATH_CURRENCY_DEFAULT = 'currency/options/default ' ;
33
+ const XML_PATH_CURRENCY_DEFAULT = 'currency/options/default ' ;
34
34
35
- public const XML_PATH_CURRENCY_BASE = 'currency/options/base ' ;
35
+ const XML_PATH_CURRENCY_BASE = 'currency/options/base ' ;
36
36
37
37
/**
38
38
* @var Filter
@@ -488,7 +488,7 @@ private function setOptions(array $options): void
488
488
$ this ->numberFormatter ->setSymbol (\NumberFormatter::CURRENCY_SYMBOL , '' );
489
489
}
490
490
if (array_key_exists ('precision ' , $ options )) {
491
- $ this ->numberFormatter ->setAttribute (\NumberFormatter::FRACTION_DIGITS , $ options ['precision ' ] ?? 0 );
491
+ $ this ->numberFormatter ->setAttribute (\NumberFormatter::FRACTION_DIGITS , $ options ['precision ' ]);
492
492
}
493
493
}
494
494
You can’t perform that action at this time.
0 commit comments