From 6cd8ae0cdf97df48cf11a1dae6b1d96d3fcdf1dd Mon Sep 17 00:00:00 2001 From: Joseph Bielawski Date: Tue, 30 Dec 2025 17:26:06 +0100 Subject: [PATCH] chore: Remove old OpenSpout code fallback --- .../src/Flow/ETL/Adapter/Excel/ExcelExtractor.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/adapter/etl-adapter-excel/src/Flow/ETL/Adapter/Excel/ExcelExtractor.php b/src/adapter/etl-adapter-excel/src/Flow/ETL/Adapter/Excel/ExcelExtractor.php index 3e6f2ff01..1c4ef6b44 100644 --- a/src/adapter/etl-adapter-excel/src/Flow/ETL/Adapter/Excel/ExcelExtractor.php +++ b/src/adapter/etl-adapter-excel/src/Flow/ETL/Adapter/Excel/ExcelExtractor.php @@ -133,8 +133,7 @@ private function createRowsFromCells(Row $row, int $previousRowDataCount = 0) : $rowData = \array_map( // Convert empty values to nullables if allowed fn (Cell $cell) => $this->convertEmptyToNull && '' === $cell->getValue() ? null : $cell->getValue(), - /** @phpstan-ignore-next-line method remove in 5.0 in favor of public property */ - method_exists($row, 'getCells') ? $row->getCells() : $row->cells + $row->cells ); // Expand columns to the size of the previous row