Skip to content

Commit e6bc7b6

Browse files
authored
ENGCOM-5798: Fix return type of price currency format method #24485
2 parents 02e6b9b + bcadd69 commit e6bc7b6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/internal/Magento/Framework/Pricing/PriceCurrencyInterface.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
*/
1414
interface PriceCurrencyInterface
1515
{
16-
/**
17-
* Default precision
18-
*/
1916
const DEFAULT_PRECISION = 2;
2017

2118
/**
@@ -47,7 +44,7 @@ public function convertAndRound($amount, $scope = null, $currency = null, $preci
4744
* @param int $precision
4845
* @param null|string|bool|int|\Magento\Framework\App\ScopeInterface $scope
4946
* @param \Magento\Framework\Model\AbstractModel|string|null $currency
50-
* @return float
47+
* @return string
5148
*/
5249
public function format(
5350
$amount,

0 commit comments

Comments
 (0)