Fix coding standards issue

This commit is contained in:
MarkBaker 2021-02-14 17:12:01 +01:00
parent e29600116e
commit 4e1f89d04c
1 changed files with 2 additions and 2 deletions

View File

@ -722,8 +722,8 @@ class Xlsx extends BaseReader
// Formula
$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]);
$attributes = $c->f['t'];
$docSheet->getCell($r)->setFormulaAttributes(['t' => (string) $attributes]);
}
}