← All changes
|
libraries/vendor/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic.php
+2
-2
3.3.4
→
3.4
View file →
| @@ -27,9 +27,9 @@ | ||
| 27 | 27 | * future payments is worth right now |
| 28 | 28 | * @param mixed $type A number 0 or 1 and indicates when payments are due: |
| 29 | 29 | * 0 or omitted At the end of the period. |
| 30 | 30 | * 1 At the beginning of the period. |
| 31 | - * @return float|string | |
| 31 | + * @return string|float | |
| 32 | 32 | */ |
| 33 | 33 | public static function futureValue( |
| 34 | 34 | $rate, |
| 35 | 35 | $numberOfPeriods, |
| @@ -175,9 +175,9 @@ | ||
| 175 | 175 | return -$futureValue - $payment * $numberOfPeriods; |
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | /** |
| 179 | - * @return float|string | |
| 179 | + * @return string|float | |
| 180 | 180 | */ |
| 181 | 181 | private static function calculatePeriods( |
| 182 | 182 | float $rate, |
| 183 | 183 | float $payment, |