← All changes
|
libraries/vendor/PhpSpreadsheet/Calculation/Financial/Depreciation.php
+1
-1
3.3.3
→
3.4
View file →
| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | * @param mixed $period The period for which you want to calculate the |
| 32 | 32 | * depreciation. Period must use the same units as life. |
| 33 | 33 | * @param mixed $month Number of months in the first year. If month is omitted, |
| 34 | 34 | * it defaults to 12. |
| 35 | - * @return float|int|string | |
| 35 | + * @return string|float|int | |
| 36 | 36 | */ |
| 37 | 37 | public static function DB($cost, $salvage, $life, $period, $month = 12) |
| 38 | 38 | { |
| 39 | 39 | $cost = Functions::flattenSingleValue($cost); |