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
2828 /**
2929 * CONFIG path constants
3030 */
31- public const XML_PATH_CURRENCY_ALLOW = 'currency/options/allow ' ;
31+ const XML_PATH_CURRENCY_ALLOW = 'currency/options/allow ' ;
3232
33- public const XML_PATH_CURRENCY_DEFAULT = 'currency/options/default ' ;
33+ const XML_PATH_CURRENCY_DEFAULT = 'currency/options/default ' ;
3434
35- public const XML_PATH_CURRENCY_BASE = 'currency/options/base ' ;
35+ const XML_PATH_CURRENCY_BASE = 'currency/options/base ' ;
3636
3737 /**
3838 * @var Filter
@@ -488,7 +488,7 @@ private function setOptions(array $options): void
488488 $ this ->numberFormatter ->setSymbol (\NumberFormatter::CURRENCY_SYMBOL , '' );
489489 }
490490 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 ' ]);
492492 }
493493 }
494494
You can’t perform that action at this time.
0 commit comments