Forráskód Böngészése

fix docblocks? at this point im really nervous whats right and whats wrong

1day2die 3 éve
szülő
commit
e3829af116
2 módosított fájl, 4 hozzáadás és 3 törlés
  1. 1 1
      app/Models/Payment.php
  2. 3 2
      app/Models/PaypalProduct.php

+ 1 - 1
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')
     {

+ 3 - 2
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() 
     {