Phpstan Level 9 - Part 1 of Many

Dealing mostly with mixed variable type. In a great many cases, problems can be resolved replacing `getValue` with `getValueString` or `getCalculatedValue` with `getCalculatedValueString`.
This commit is contained in:
oleibman
2025-03-05 21:59:54 -08:00
parent 875dc354f9
commit d1d12ed92d
78 changed files with 2208 additions and 199 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ for ($col = 'B'; $col != 'G'; ++$col) {
is_string($formula)
&& ($formula[0] == '=')
) {
$helper->log('Value of ' . $col . $row . ' [' . $formula . ']: ' . $spreadsheet->getActiveSheet()->getCell($col . $row)->getCalculatedValue());
$helper->log('Value of ' . $col . $row . ' [' . $formula . ']: ' . $spreadsheet->getActiveSheet()->getCell($col . $row)->getCalculatedValueString());
}
}
}