Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AITCORE-4: Update price format in component
* Fix issue: Deprecated Functionality: NumberFormatter::setAttribute(): Passing null to parameter #2 ($value) of type int|float is deprecated in /var/www/html/vendor/magento/module-directory/Model/Currency.php on line 497 * Rearrange imports * Add `@throws` to method annotation * Fix is safe because the method's default `$precision` [appeared in Magento 2.0.0](https://github.com/magento/magento2/blame/0f9a056c8d83c4f319626b3e56ec52a533999f25/lib/internal/Magento/Framework/Pricing/PriceCurrencyInterface.php#L53)
- Loading branch information