8000 bug #24405 [Intl] fix return type value (xabbuh) · symfony/symfony@0082981 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0082981

Browse files
committed
bug #24405 [Intl] fix return type value (xabbuh)
This PR was merged into the 4.0-dev branch. Discussion ---------- [Intl] fix return type value | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 0e1ce34 [Intl] fix return type value
2 parents ddd6e69 + 0e1ce34 commit 0082981

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Intl/Locale.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ public static function getFallback($locale): ?string
105105
if (strlen($locale) < 4) {
106106
return self::$defaultFallback;
107107
}
108+
109+
return null;
108110
}
109111

110112
/**

0 commit comments

Comments
 (0)
0