Writer: Xlsx: Worksheet: handle PHP 7.4 deprecation notice
This commit is contained in:
parent
f7d2ebac40
commit
9d6736d303
|
@ -1105,7 +1105,7 @@ class Worksheet extends WriterPart
|
|||
break;
|
||||
case 'f': // Formula
|
||||
$attributes = $pCell->getFormulaAttributes();
|
||||
if ($attributes['t'] === 'array') {
|
||||
if (($attributes['t'] ?? null) === 'array') {
|
||||
$objWriter->startElement('f');
|
||||
$objWriter->writeAttribute('t', 'array');
|
||||
$objWriter->writeAttribute('ref', $pCellAddress);
|
||||
|
|
Loading…
Reference in New Issue