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
@@ -62,9 +62,9 @@ for ($row = 1; $row <= 12; ++$row) {
. ' and '
. $worksheet->getCell('B' . $row)->getFormattedValue()
. ' is '
. $worksheet->getCell('C' . $row)->getCalculatedValue()
. $worksheet->getCell('C' . $row)->getCalculatedValueString()
. ' working days; '
. $worksheet->getCell('D' . $row)->getCalculatedValue()
. $worksheet->getCell('D' . $row)->getCalculatedValueString()
. ' excluding public holidays'
);
}