wip
This commit is contained in:
@@ -27,11 +27,11 @@ class OnlinePaymentRepo
|
||||
/**
|
||||
* Set price
|
||||
*
|
||||
* @param int $price
|
||||
* @param int|float|string $price
|
||||
*/
|
||||
public function getPrice(int|float|string $price): int
|
||||
public function getPrice(int|float|string $price): string
|
||||
{
|
||||
return intval(number_format($price, 2, "", ""));
|
||||
return number_format($price, 2, "", "");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user