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
+2 -2
View File
@@ -41,8 +41,8 @@ for ($row = 1; $row <= $testDataCount; ++$row) {
for ($row = 1; $row <= $testDataCount; ++$row) {
$helper->log(
"(E$row): The Cosine of "
. $worksheet->getCell('A' . $row)->getValue()
. $worksheet->getCell('A' . $row)->getValueString()
. ' is '
. $worksheet->getCell('B' . $row)->getCalculatedValue()
. $worksheet->getCell('B' . $row)->getCalculatedValueString()
);
}