diff --git a/src/PhpSpreadsheet/Reader/Xlsx.php b/src/PhpSpreadsheet/Reader/Xlsx.php index 8d38fa3e..9a5e5e2d 100644 --- a/src/PhpSpreadsheet/Reader/Xlsx.php +++ b/src/PhpSpreadsheet/Reader/Xlsx.php @@ -719,7 +719,7 @@ class Xlsx extends BaseReader $this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToString'); if (isset($c->f['t'])) { $att = $c->f['t']; - $docSheet->getCell($r)->setFormulaAttributes(['t' => (string)$att]); + $docSheet->getCell($r)->setFormulaAttributes(['t' => (string) $att]); } }