Skip to content

Commit db35a41

Browse files
authored
Upgrades in Advance of Dependabot (#3757)
More convenient to handle it today than tomorrow. Phpstan flags 1 new statement, but it is incorrect - annotate it.
1 parent d0fae3f commit db35a41

File tree

3 files changed

+59
-53
lines changed

3 files changed

+59
-53
lines changed

composer.lock

Lines changed: 57 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/PhpSpreadsheet/Calculation/Calculation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4409,7 +4409,7 @@ private function internalParseFormula($formula, ?Cell $cell = null): bool|array
44094409
[$rangeWS2, $val] = Worksheet::extractSheetTitle($val, true);
44104410
if ($rangeWS2 !== '') {
44114411
$rangeWS2 .= '!';
4412-
} else {
4412+
} else { // @phpstan-ignore-line
44134413
$rangeWS2 = $rangeWS1;
44144414
}
44154415

src/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class AccruedInterest
4040
* 2 Actual/360
4141
* 3 Actual/365
4242
* 4 European 30/360
43+
* @param mixed $calcMethod Unused by PhpSpreadsheet, and apparently by Excel (https://exceljet.net/functions/accrint-function)
4344
*
4445
* @return float|string Result, or a string containing an error
4546
*/

0 commit comments

Comments
 (0)