PluginProbe
TablePress – Tables in WordPress made easy / 3.4
TablePress – Tables in WordPress made easy v3.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
← All changes | libraries/vendor/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/NonPeriodic.php +2 -2 3.3.2 → 3.4 View file →
@@ -169,9 +169,9 @@
169 169 $foundpos = false;
170 170 $foundneg = false;
171 171 for ($i = 0; $i < $valCount; ++$i) {
172 172 $fld = $values[$i];
173 - if (!is_numeric($fld)) { //* @phpstan-ignore-line
173 + if (!is_numeric($fld)) {
174 174 return ExcelError::VALUE();
175 175 } elseif ($fld > 0) {
176 176 $foundpos = true;
177 177 } elseif ($fld < 0) {
@@ -221,9 +221,9 @@
221 221
222 222 /**
223 223 * @param array<int, float|int|numeric-string> $values
224 224 * @param array<int, float|int|numeric-string> $dates
225 - * @return float|string
225 + * @return string|float
226 226 */
227 227 private static function xirrBisection(array $values, array $dates, float $x1, float $x2)
228 228 {
229 229 $rslt = ExcelError::NAN();