File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
src/Symfony/Component/Intl/ResourceBundle Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public function getCurrencyNames($displayLocale = null)
76
76
try {
77
77
return $ this ->getNames ($ displayLocale );
78
78
} catch (MissingResourceException $ e ) {
79
- return ;
79
+ return array () ;
80
80
}
81
81
}
82
82
@@ -112,7 +112,7 @@ public function getLocales()
112
112
try {
113
113
return $ this ->localeProvider ->getLocales ();
114
114
} catch (MissingResourceException $ e ) {
115
- return ;
115
+ return array () ;
116
116
}
117
117
}
118
118
}
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public function getLanguageNames($displayLocale = null)
80
80
try {
81
81
return $ this ->getNames ($ displayLocale );
82
82
} catch (MissingResourceException $ e ) {
83
- return ;
83
+ return array () ;
84
84
}
85
85
}
86
86
@@ -104,7 +104,7 @@ public function getScriptNames($displayLocale = null)
104
104
try {
105
105
return $ this ->scriptProvider ->getNames ($ displayLocale );
106
106
} catch (MissingResourceException $ e ) {
107
- return ;
107
+ return array () ;
108
108
}
109
109
}
110
110
@@ -116,7 +116,7 @@ public function getLocales()
116
116
try {
117
117
return $ this ->localeProvider ->getLocales ();
118
118
} catch (MissingResourceException $ e ) {
119
- return ;
119
+ return array () ;
120
120
}
121
121
}
122
122
}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function getLocales()
31
31
try {
32
32
return parent ::getLocales ();
33
33
} catch (MissingResourceException $ e ) {
34
- return ;
34
+ return array () ;
35
35
}
36
36
}
37
37
@@ -55,7 +55,7 @@ public function getLocaleNames($displayLocale = null)
55
55
try {
56
56
return $ this ->getNames ($ displayLocale );
57
57
} catch (MissingResourceException $ e ) {
58
- return ;
58
+ return array () ;
59
59
}
60
60
}
61
61
}
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public function getCountryNames($displayLocale = null)
64
64
try {
65
65
return $ this ->getNames ($ displayLocale );
66
66
} catch (MissingResourceException $ e ) {
67
- return ;
67
+ return array () ;
68
68
}
69
69
}
70
70
@@ -76,7 +76,7 @@ public function getLocales()
76
76
try {
77
77
return $ this ->localeProvider ->getLocales ();
78
78
} catch (MissingResourceException $ e ) {
79
- return ;
79
+ return array () ;
80
80
}
81
81
}
82
82
}
You can’t perform that action at this time.
0 commit comments