@@ -33,14 +33,14 @@ discard block |
||
33 | 33 | */ |
34 | 34 | protected $country; |
35 | 35 | |
36 | - /** |
|
37 | - * @var string |
|
38 | - */ |
|
36 | + /** |
|
37 | + * @var string |
|
38 | + */ |
|
39 | 39 | protected $countryCode; |
40 | 40 | |
41 | - /** |
|
42 | - * @var string |
|
43 | - */ |
|
41 | + /** |
|
42 | + * @var string |
|
43 | + */ |
|
44 | 44 | protected $languageCode; |
45 | 45 | |
46 | 46 | public function __construct() |
@@ -64,25 +64,25 @@ discard block |
||
64 | 64 | return Localization::isLocaleSupported($localeName); |
65 | 65 | } |
66 | 66 | |
67 | - /** |
|
68 | - * Retrieves the shortened version of the locale name, |
|
69 | - * e.g. "en" or "de". |
|
70 | - * |
|
71 | - * @return string |
|
72 | - * @deprecated |
|
73 | - * @see Localization_Locale::getLanguageCode() |
|
74 | - */ |
|
67 | + /** |
|
68 | + * Retrieves the shortened version of the locale name, |
|
69 | + * e.g. "en" or "de". |
|
70 | + * |
|
71 | + * @return string |
|
72 | + * @deprecated |
|
73 | + * @see Localization_Locale::getLanguageCode() |
|
74 | + */ |
|
75 | 75 | public function getShortName() : string |
76 | 76 | { |
77 | 77 | return $this->getLanguageCode(); |
78 | 78 | } |
79 | 79 | |
80 | - /** |
|
81 | - * Retrieves the two-letter country code of |
|
82 | - * the locale. |
|
83 | - * |
|
84 | - * @return string Lowercase code, e.g. "uk" |
|
85 | - */ |
|
80 | + /** |
|
81 | + * Retrieves the two-letter country code of |
|
82 | + * the locale. |
|
83 | + * |
|
84 | + * @return string Lowercase code, e.g. "uk" |
|
85 | + */ |
|
86 | 86 | public function getCountryCode() : string |
87 | 87 | { |
88 | 88 | return $this->countryCode; |