Skip to content

Commit 08849a7

Browse files
committed
Changes required after merge from 1.x master, and reset phpstan baseline
1 parent 5de3c4e commit 08849a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpSpreadsheet/Shared/StringHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ public static function convertToNumberIfFraction(string &$operand): bool
554554
$sign = ($match[1] == '-') ? '-' : '+';
555555
$wholePart = ($match[3] === '') ? '' : ($sign . $match[3]);
556556
$fractionFormula = '=' . $wholePart . $sign . $match[4];
557-
$operand = Calculation::getInstance()->_calculateFormulaValue($fractionFormula);
557+
$operand = Calculation::getInstance()->calculateFormulaValue($fractionFormula);
558558

559559
return true;
560560
}

0 commit comments

Comments
 (0)