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 25
25
*/
26
26
class CurrencyDataGenerator extends AbstractDataGenerator
27
27
{
28
- private static $ blacklist = [
28
+ private static $ denylist = [
29
29
'XBA ' => true , // European Composite Unit
30
30
'XBB ' => true , // European Monetary Unit
31
31
'XBC ' => true , // European Unit of Account (XBC)
@@ -136,7 +136,7 @@ private function generateSymbolNamePairs(ArrayAccessibleResourceBundle $rootBund
136
136
$ symbolNamePairs = iterator_to_array ($ rootBundle ['Currencies ' ]);
137
137
138
138
// Remove unwanted currencies
139
- $ symbolNamePairs = array_diff_key ($ symbolNamePairs , self ::$ blacklist );
139
+ $ symbolNamePairs = array_diff_key ($ symbolNamePairs , self ::$ denylist );
140
140
141
141
return $ symbolNamePairs ;
142
142
}
Original file line number Diff line number Diff line change 27
27
*/
28
28
class RegionDataGenerator extends AbstractDataGenerator
29
29
{
30
- private static $ blacklist = [
30
+ private static $ denylist = [
31
31
// Look like countries, but are sub-continents
32
32
'QO ' => true , // Outlying Oceania
33
33
'EU ' => true , // European Union
@@ -50,7 +50,7 @@ class RegionDataGenerator extends AbstractDataGenerator
50
50
51
51
public static function isValidCountryCode ($ region )
52
52
{
53
- if (isset (self ::$ blacklist [$ region ])) {
53
+ if (isset (self ::$ denylist [$ region ])) {
54
54
return false ;
55
55
}
56
56
You can’t perform that action at this time.
0 commit comments