File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2525 */
2626class CurrencyDataGenerator extends AbstractDataGenerator
2727{
28- private static $ blacklist = [
28+ private static $ denylist = [
2929 'XBA ' => true , // European Composite Unit
3030 'XBB ' => true , // European Monetary Unit
3131 'XBC ' => true , // European Unit of Account (XBC)
@@ -136,7 +136,7 @@ private function generateSymbolNamePairs(ArrayAccessibleResourceBundle $rootBund
136136 $ symbolNamePairs = iterator_to_array ($ rootBundle ['Currencies ' ]);
137137
138138 // Remove unwanted currencies
139- $ symbolNamePairs = array_diff_key ($ symbolNamePairs , self ::$ blacklist );
139+ $ symbolNamePairs = array_diff_key ($ symbolNamePairs , self ::$ denylist );
140140
141141 return $ symbolNamePairs ;
142142 }
Original file line number Diff line number Diff line change 2727 */
2828class RegionDataGenerator extends AbstractDataGenerator
2929{
30- private static $ blacklist = [
30+ private static $ denylist = [
3131 // Look like countries, but are sub-continents
3232 'QO ' => true , // Outlying Oceania
3333 'EU ' => true , // European Union
@@ -50,7 +50,7 @@ class RegionDataGenerator extends AbstractDataGenerator
5050
5151 public static function isValidCountryCode ($ region )
5252 {
53- if (isset (self ::$ blacklist [$ region ])) {
53+ if (isset (self ::$ denylist [$ region ])) {
5454 return false ;
5555 }
5656
You can’t perform that action at this time.
0 commit comments