Skip to content

Commit 2a031f5

Browse files
committed
Locale::getPrimaryLanguage() can return empty string
1 parent 4d699ef commit 2a031f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎resources/functionMap.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5392,7 +5392,7 @@
53925392
'Locale::getDisplayScript' => ['string|false', 'locale'=>'string', 'displayLocale='=>'string'],
53935393
'Locale::getDisplayVariant' => ['string|false', 'locale'=>'string', 'displayLocale='=>'string'],
53945394
'Locale::getKeywords' => ['array|null', 'locale'=>'string'],
5395-
'Locale::getPrimaryLanguage' => ['non-empty-string|null', 'locale'=>'string'],
5395+
'Locale::getPrimaryLanguage' => ['string|null', 'locale'=>'string'],
53965396
'Locale::getRegion' => ['string|null', 'locale'=>'string'],
53975397
'Locale::getScript' => ['string|null', 'locale'=>'string'],
53985398
'Locale::lookup' => ['string|null', 'languageTag'=>'array', 'locale'=>'string', 'canonicalize='=>'bool', 'defaultLocale='=>'string'],

0 commit comments

Comments
 (0)