Skip to content

Commit 3d4b4b0

Browse files
committed
Scrutinizer
See if typehint helps.
1 parent 2f445a1 commit 3d4b4b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PhpSpreadsheet/Writer/Xlsx/Style.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ public function writeStyles(Spreadsheet $spreadsheet): string
142142

143143
// dxf
144144
for ($i = 0; $i < $this->getParentWriter()->getStylesConditionalHashTable()->count(); ++$i) {
145+
/** @var ?Conditional */
145146
$thisstyle = $this->getParentWriter()->getStylesConditionalHashTable()->getByIndex($i);
146147
if ($thisstyle !== null) {
147148
$this->writeCellStyleDxf($objWriter, $thisstyle->getStyle());

0 commit comments

Comments
 (0)