diff --git a/app/Models/Payment.php b/app/Models/Payment.php index f6ac1c55..04e871ea 100644 --- a/app/Models/Payment.php +++ b/app/Models/Payment.php @@ -57,7 +57,7 @@ class Payment extends Model /** * @param mixed $value * @param string $locale - * @return NumberFormatter + * @return float */ public function formatToCurrency($value,$locale = 'en_US') { diff --git a/app/Models/PaypalProduct.php b/app/Models/PaypalProduct.php index 90767ade..2463bf00 100644 --- a/app/Models/PaypalProduct.php +++ b/app/Models/PaypalProduct.php @@ -43,7 +43,8 @@ class PaypalProduct extends Model /** * @param mixed $value * @param string $locale - * @return NumberFormatter + * + * @return float */ public function formatToCurrency($value,$locale = 'en_US') { @@ -75,7 +76,7 @@ class PaypalProduct extends Model /** * @description Returns the full price of a Product including tax * - * @return int + * @return float */ public function getTotalPrice() {