@@ -152,8 +152,8 @@ public static function getDefault()
152152 /**
153153 * Not supported. Returns the localized display name for the locale language.
154154 *
155- * @param string $locale The locale code to return the display language from
156- * @param string $inLocale Optional format locale code to use to display the language name
155+ * @param string $locale The locale code to return the display language from
156+ * @param string|null $inLocale Optional format locale code to use to display the language name
157157 *
158158 * @return string
159159 *
@@ -169,8 +169,8 @@ public static function getDisplayLanguage(string $locale, string $inLocale = nul
169169 /**
170170 * Not supported. Returns the localized display name for the locale.
171171 *
172- * @param string $locale The locale code to return the display locale name from
173- * @param string $inLocale Optional format locale code to use to display the locale name
172+ * @param string $locale The locale code to return the display locale name from
173+ * @param string|null $inLocale Optional format locale code to use to display the locale name
174174 *
175175 * @return string
176176 *
@@ -186,8 +186,8 @@ public static function getDisplayName(string $locale, string $inLocale = null)
186186 /**
187187 * Not supported. Returns the localized display name for the locale region.
188188 *
189- * @param string $locale The locale code to return the display region from
190- * @param string $inLocale Optional format locale code to use to display the region name
189+ * @param string $locale The locale code to return the display region from
190+ * @param string|null $inLocale Optional format locale code to use to display the region name
191191 *
192192 * @return string
193193 *
@@ -203,8 +203,8 @@ public static function getDisplayRegion(string $locale, string $inLocale = null)
203203 /**
204204 * Not supported. Returns the localized display name for the locale script.
205205 *
206- * @param string $locale The locale code to return the display script from
207- * @param string $inLocale Optional format locale code to use to display the script name
206+ * @param string $locale The locale code to return the display script from
207+ * @param string|null $inLocale Optional format locale code to use to display the script name
208208 *
209209 * @return string
210210 *
@@ -220,8 +220,8 @@ public static function getDisplayScript(string $locale, string $inLocale = null)
220220 /**
221221 * Not supported. Returns the localized display name for the locale variant.
222222 *
223- * @param string $locale The locale code to return the display variant from
224- * @param string $inLocale Optional format locale code to use to display the variant name
223+ * @param string $locale The locale code to return the display variant from
224+ * @param string|null $inLocale Optional format locale code to use to display the variant name
225225 *
226226 * @return string
227227 *
@@ -301,10 +301,10 @@ public static function getScript(string $locale)
301301 /**
302302 * Not supported. Returns the closest language tag for the locale.
303303 *
304- * @param array $langtag A list of the language tags to compare to locale
305- * @param string $locale The locale to use as the language range when matching
306- * @param bool $canonicalize If true, the arguments will be converted to canonical form before matching
307- * @param string $default The locale to use if no match is found
304+ * @param array $langtag A list of the language tags to compare to locale
305+ * @param string $locale The locale to use as the language range when matching
306+ * @param bool $canonicalize If true, the arguments will be converted to canonical form before matching
307+ * @param string|null $default The locale to use if no match is found
308308 *
309309 * @see https://php.net/locale.lookup
310310 *
0 commit comments