mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-10-06 03:47:43 +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:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user