diff --git a/src/PhpSpreadsheet/Cell.php b/src/PhpSpreadsheet/Cell.php index 889739a3..c035bcef 100644 --- a/src/PhpSpreadsheet/Cell.php +++ b/src/PhpSpreadsheet/Cell.php @@ -259,8 +259,6 @@ class Cell /** * Get calculated cell value. * - * @deprecated Since version 1.7.8 for planned changes to cell for array formula handling - * * @param bool $resetLog Whether the calculation engine logger should be reset or not * * @throws Exception @@ -1037,7 +1035,7 @@ class Cell } /** - * @deprecated Since version 1.7.8 for planned changes to cell for array formula handling + * Set the formula attributes. * * @param mixed $pAttributes */ @@ -1049,7 +1047,7 @@ class Cell } /** - * @deprecated Since version 1.7.8 for planned changes to cell for array formula handling + * Get the formula attributes. */ public function getFormulaAttributes() { diff --git a/src/PhpSpreadsheet/Reader/Xlsx.php b/src/PhpSpreadsheet/Reader/Xlsx.php index 26edd1a1..5d582e25 100644 --- a/src/PhpSpreadsheet/Reader/Xlsx.php +++ b/src/PhpSpreadsheet/Reader/Xlsx.php @@ -899,7 +899,6 @@ class Xlsx extends BaseReader implements IReader // Formula $this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToBoolean'); if (isset($c->f['t'])) { - $att = []; $att = $c->f; $docSheet->getCell($r)->setFormulaAttributes($att); }