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 {