@@ -3542,7 +3542,7 @@ public function calculateCellValue(?Cell $cell = null, bool $resetLog = true): m
3542
3542
throw new Exception ($ e ->getMessage (), $ e ->getCode (), $ e );
3543
3543
}
3544
3544
3545
- if (is_array ($ result ) && self :: getInstanceArrayReturnType () !== self ::RETURN_ARRAY_AS_ARRAY ) {
3545
+ if (is_array ($ result ) && $ this -> getInstanceArrayReturnType () !== self ::RETURN_ARRAY_AS_ARRAY ) {
3546
3546
$ testResult = Functions::flattenArray ($ result );
3547
3547
if (self ::getInstanceArrayReturnType () == self ::RETURN_ARRAY_AS_ERROR ) {
3548
3548
return ExcelError::VALUE ();
@@ -5003,7 +5003,7 @@ private function processTokenStack(mixed $tokens, ?string $cellID = null, ?Cell
5003
5003
}
5004
5004
}
5005
5005
5006
- if (self :: getInstanceArrayReturnType () === self ::RETURN_ARRAY_AS_ARRAY && !$ this ->processingAnchorArray && is_array ($ cellValue )) {
5006
+ if ($ this -> getInstanceArrayReturnType () === self ::RETURN_ARRAY_AS_ARRAY && !$ this ->processingAnchorArray && is_array ($ cellValue )) {
5007
5007
while (is_array ($ cellValue )) {
5008
5008
$ cellValue = array_shift ($ cellValue );
5009
5009
}
@@ -5467,7 +5467,7 @@ public function extractCellRange(string &$range = 'A1', ?Worksheet $worksheet =
5467
5467
sscanf ($ aReferences [0 ], '%[A-Z]%d ' , $ currentCol , $ currentRow );
5468
5468
if ($ worksheet !== null && $ worksheet ->cellExists ($ aReferences [0 ])) {
5469
5469
$ temp = $ worksheet ->getCell ($ aReferences [0 ])->getCalculatedValue ($ resetLog );
5470
- if (self :: getInstanceArrayReturnType () === self ::RETURN_ARRAY_AS_ARRAY ) {
5470
+ if ($ this -> getInstanceArrayReturnType () === self ::RETURN_ARRAY_AS_ARRAY ) {
5471
5471
while (is_array ($ temp )) {
5472
5472
$ temp = array_shift ($ temp );
5473
5473
}
0 commit comments