Un-deprecate `getCalculatedValue()`
Those were deprecated a long time ago in 59932b0cac
but their replacement seems to have never been added. 5 years later the
best solution is to un-deprecate them and if someday their replacement are
actually added, then we can re-deprecate them properly.
Closes #22
This commit is contained in:
parent
ea5663bc00
commit
b669d48f2f
|
@ -259,8 +259,6 @@ class Cell
|
||||||
/**
|
/**
|
||||||
* Get calculated cell value.
|
* 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
|
* @param bool $resetLog Whether the calculation engine logger should be reset or not
|
||||||
*
|
*
|
||||||
* @throws Exception
|
* @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
|
* @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()
|
public function getFormulaAttributes()
|
||||||
{
|
{
|
||||||
|
|
|
@ -899,7 +899,6 @@ class Xlsx extends BaseReader implements IReader
|
||||||
// Formula
|
// Formula
|
||||||
$this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToBoolean');
|
$this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToBoolean');
|
||||||
if (isset($c->f['t'])) {
|
if (isset($c->f['t'])) {
|
||||||
$att = [];
|
|
||||||
$att = $c->f;
|
$att = $c->f;
|
||||||
$docSheet->getCell($r)->setFormulaAttributes($att);
|
$docSheet->getCell($r)->setFormulaAttributes($att);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue