From e3829af1163d20926ff4b28223fe696165343162 Mon Sep 17 00:00:00 2001 From: 1day2die Date: Sun, 7 Nov 2021 18:43:38 +0100 Subject: [PATCH] fix docblocks? at this point im really nervous whats right and whats wrong --- app/Models/Payment.php | 2 +- app/Models/PaypalProduct.php | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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() {