diff --git a/framework/i18n/Locale.php b/framework/i18n/Locale.php index 7462e777e6..c45db6ee41 100644 --- a/framework/i18n/Locale.php +++ b/framework/i18n/Locale.php @@ -19,6 +19,12 @@ use yii\base\InvalidConfigException; */ class Locale extends Component { + /** + * @var string the locale ID. + * If not set, [[\yii\base\Application::language]] will be used. + */ + public $locale; + /** * {@inheritdoc} */ @@ -33,12 +39,6 @@ class Locale extends Component } } - /** - * @var string the locale ID. - * If not set, [[\yii\base\Application::language]] will be used. - */ - public $locale; - /** * Returns a currency symbol *