Skip to content

Commit 2a43cb4

Browse files
committed
Coverage Tweak
1 parent 7fb028d commit 2a43cb4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/PhpSpreadsheet/Reader/Html.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,11 @@ protected function flushCell(Worksheet $sheet, string $column, int|string $row,
332332
$this->dataArray[$row][$column] = $cellContent; // @phpstan-ignore-line
333333
}
334334
} else {
335-
// We have a Rich Text run
335+
// We have a Rich Text run.
336+
// I don't actually see any way to reach this line.
336337
// TODO
337-
$this->dataArray[$row][$column] = 'RICH TEXT: ' . StringHelper::convertToString($cellContent); // @phpstan-ignore-line
338+
// @phpstan-ignore-next-line
339+
$this->dataArray[$row][$column] = 'RICH TEXT: ' . StringHelper::convertToString($cellContent); // @codeCoverageIgnore
338340
}
339341
$cellContent = (string) '';
340342
}

0 commit comments

Comments
 (0)