From 6946bde47ee398b37bac685e45fe6fa87487327f Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Fri, 12 Feb 2021 18:12:19 +0100 Subject: [PATCH] Fix docblocks --- src/PhpSpreadsheet/Calculation/Financial.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PhpSpreadsheet/Calculation/Financial.php b/src/PhpSpreadsheet/Calculation/Financial.php index 7be0b594..3c24eb3b 100644 --- a/src/PhpSpreadsheet/Calculation/Financial.php +++ b/src/PhpSpreadsheet/Calculation/Financial.php @@ -242,7 +242,7 @@ class Financial * 3 Actual/365 * 4 European 30/360 * - * @return float + * @return float|string (string containing the error type if there is an error) */ public static function AMORDEGRC($cost, $purchased, $firstPeriod, $salvage, $period, $rate, $basis = 0) { @@ -322,7 +322,7 @@ class Financial * 3 Actual/365 * 4 European 30/360 * - * @return float + * @return float|string (string containing the error type if there is an error) */ public static function AMORLINC($cost, $purchased, $firstPeriod, $salvage, $period, $rate, $basis = 0) {