mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-10-06 11:59:08 +00:00
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:
@@ -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'
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user