We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb4a22d commit 31ca617Copy full SHA for 31ca617
tests/PhpSpreadsheetTests/SpreadsheetTest.php
@@ -195,7 +195,7 @@ public function testAddExternalColumnDimensionStyles(): void
195
$sheet1 = $spreadsheet1->createSheet()->setTitle('sheetWithColumnDimension');
196
$sheet1->getCell('A1')->setValue(1);
197
$sheet1->getCell('A1')->getStyle()->getFont()->setItalic(true);
198
- $sheet1->getColumnDimension('B')->setWidth('10')->setXfIndex($sheet1->getCell('A1')->getXfIndex());
+ $sheet1->getColumnDimension('B')->setWidth(10)->setXfIndex($sheet1->getCell('A1')->getXfIndex());
199
$index = $sheet1->getColumnDimension('B')->getXfIndex();
200
self::assertEquals(1, $index);
201
self::assertCount(2, $spreadsheet1->getCellXfCollection());
0 commit comments