@@ -52,6 +52,9 @@ |
||
52 | 52 | return 'sylius_locale'; |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @param string|null $localeCode |
|
57 | + */ |
|
55 | 58 | private function getLocaleCode(?string $localeCode): ?string |
56 | 59 | { |
57 | 60 | if (null !== $localeCode) { |
@@ -20,6 +20,7 @@ |
||
20 | 20 | /** |
21 | 21 | * @param string $code The code to be converted to a name |
22 | 22 | * @param string|null $localeCode The locale that the returned name should be in |
23 | + * @return string |
|
23 | 24 | */ |
24 | 25 | public function convertCodeToName(string $code, ?string $localeCode = null): ?string; |
25 | 26 | } |