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