@@ -147,7 +147,7 @@ public static function getDefault()
147147 *
148148 * @throws MethodNotImplementedException
149149 */
150- public static function getDisplayLanguage (string $ locale , string $ displayLocale = null )
150+ public static function getDisplayLanguage (string $ locale , ? string $ displayLocale = null )
151151 {
152152 throw new MethodNotImplementedException (__METHOD__ );
153153 }
@@ -161,7 +161,7 @@ public static function getDisplayLanguage(string $locale, string $displayLocale
161161 *
162162 * @throws MethodNotImplementedException
163163 */
164- public static function getDisplayName (string $ locale , string $ displayLocale = null )
164+ public static function getDisplayName (string $ locale , ? string $ displayLocale = null )
165165 {
166166 throw new MethodNotImplementedException (__METHOD__ );
167167 }
@@ -175,7 +175,7 @@ public static function getDisplayName(string $locale, string $displayLocale = nu
175175 *
176176 * @throws MethodNotImplementedException
177177 */
178- public static function getDisplayRegion (string $ locale , string $ displayLocale = null )
178+ public static function getDisplayRegion (string $ locale , ? string $ displayLocale = null )
179179 {
180180 throw new MethodNotImplementedException (__METHOD__ );
181181 }
@@ -189,7 +189,7 @@ public static function getDisplayRegion(string $locale, string $displayLocale =
189189 *
190190 * @throws MethodNotImplementedException
191191 */
192- public static function getDisplayScript (string $ locale , string $ displayLocale = null )
192+ public static function getDisplayScript (string $ locale , ? string $ displayLocale = null )
193193 {
194194 throw new MethodNotImplementedException (__METHOD__ );
195195 }
@@ -203,7 +203,7 @@ public static function getDisplayScript(string $locale, string $displayLocale =
203203 *
204204 * @throws MethodNotImplementedException
205205 */
206- public static function getDisplayVariant (string $ locale , string $ displayLocale = null )
206+ public static function getDisplayVariant (string $ locale , ? string $ displayLocale = null )
207207 {
208208 throw new MethodNotImplementedException (__METHOD__ );
209209 }
@@ -271,7 +271,7 @@ public static function getScript(string $locale)
271271 *
272272 * @throws MethodNotImplementedException
273273 */
274- public static function lookup (array $ languageTag , string $ locale , bool $ canonicalize = false , string $ defaultLocale = null )
274+ public static function lookup (array $ languageTag , string $ locale , bool $ canonicalize = false , ? string $ defaultLocale = null )
275275 {
276276 throw new MethodNotImplementedException (__METHOD__ );
277277 }
0 commit comments