From 499f2a8236d008e56ab471430ca0be3782e37b6c Mon Sep 17 00:00:00 2001 From: willkensonh Date: Mon, 15 Oct 2018 11:19:53 +1100 Subject: [PATCH] still trying to get number format to work --- src/Spout/Writer/XLSX/Manager/Style/StyleRegistry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Spout/Writer/XLSX/Manager/Style/StyleRegistry.php b/src/Spout/Writer/XLSX/Manager/Style/StyleRegistry.php index 9b61acd..9f750be 100644 --- a/src/Spout/Writer/XLSX/Manager/Style/StyleRegistry.php +++ b/src/Spout/Writer/XLSX/Manager/Style/StyleRegistry.php @@ -121,7 +121,7 @@ class StyleRegistry extends \Box\Spout\Writer\Common\Manager\Style\StyleRegistry $registeredFormatId = $this->styleIdToNumberFormatMappingTable[$registeredStyleId]; $this->styleIdToNumberFormatMappingTable[$styleId] = $registeredFormatId; } else { - $this->registeredFills[$serializedFormat] = $styleId; + $this->registeredNumberFormats[$serializedFormat] = $styleId; $this->styleIdToNumberFormatMappingTable[$styleId] = $this->fillIndex++; } } else {