@@ -82,7 +82,6 @@ protected function generateDataForLocale(BundleEntryReaderInterface $reader, $te
8282
8383 if (isset ($ localeBundle ['Currencies ' ]) && null !== $ localeBundle ['Currencies ' ]) {
8484 $ data = [
85- 'Version ' => $ localeBundle ['Version ' ],
8685 'Names ' => $ this ->generateSymbolNamePairs ($ localeBundle ),
8786 ];
8887
@@ -102,7 +101,6 @@ protected function generateDataForRoot(BundleEntryReaderInterface $reader, $temp
102101 $ rootBundle = $ reader ->read ($ tempDir , 'root ' );
103102
104103 return [
105- 'Version ' => $ rootBundle ['Version ' ],
106104 'Names ' => $ this ->generateSymbolNamePairs ($ rootBundle ),
107105 ];
108106 }
@@ -112,7 +110,6 @@ protected function generateDataForRoot(BundleEntryReaderInterface $reader, $temp
112110 */
113111 protected function generateDataForMeta (BundleEntryReaderInterface $ reader , $ tempDir )
114112 {
115- $ rootBundle = $ reader ->read ($ tempDir , 'root ' );
116113 $ supplementalDataBundle = $ reader ->read ($ tempDir , 'supplementalData ' );
117114 $ numericCodesBundle = $ reader ->read ($ tempDir , 'currencyNumericCodes ' );
118115
@@ -121,7 +118,6 @@ protected function generateDataForMeta(BundleEntryReaderInterface $reader, $temp
121118 sort ($ this ->currencyCodes );
122119
123120 $ data = [
124- 'Version ' => $ rootBundle ['Version ' ],
125121 'Currencies ' => $ this ->currencyCodes ,
126122 'Meta ' => $ this ->generateCurrencyMeta ($ supplementalDataBundle ),
127123 'Alpha3ToNumeric ' => $ this ->generateAlpha3ToNumericMapping ($ numericCodesBundle , $ this ->currencyCodes ),
0 commit comments