Skip to content

Commit 40adbfe

Browse files
committed
Remove 2 Unneeded Statements
1 parent fe2fc36 commit 40adbfe

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/PhpSpreadsheet/Writer/Xls/Worksheet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2897,7 +2897,7 @@ private function writeCFRule(
28972897
$flags |= (1 == self::$always0 ? 0x80000000 : 0);
28982898

28992899
$dataBlockFont = null;
2900-
$dataBlockAlign = null;
2900+
//$dataBlockAlign = null;
29012901
$dataBlockBorder = null;
29022902
$dataBlockFill = null;
29032903

tests/PhpSpreadsheetTests/Writer/Xlsx/Issue4025Test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ public function testIssue4025(): void
163163
$sheet->getStyle('P10:P11')->setConditionalStyles($conditionalStyles2);
164164

165165
$sheet->setSelectedCells('A1');
166-
$oufil = 'issue.4025b.xlsx';
167166
$writer = new XlsxWriter($spreadsheet);
168167

169168
$writer->getStylesConditionalHashTable()->addFromSource($writer->getWriterPartStyle()->allConditionalStyles($spreadsheet));

0 commit comments

Comments
 (0)