diff --git a/UrlManager.php b/UrlManager.php index 4e346b4..2fd8968 100644 --- a/UrlManager.php +++ b/UrlManager.php @@ -114,12 +114,6 @@ class UrlManager extends BaseUrlManager */ public $ignoreLanguageUrlPatterns = []; - /** - * @var string the language that was initially set in the application - * configuration - */ - protected $_defaultLanguage; - /** * @inheritdoc */ @@ -156,11 +150,16 @@ class UrlManager extends BaseUrlManager public $geoIpLanguageCountries = []; /** - * @var int the HTTP status code. - * Defaults is 302. + * @var int the HTTP status code. Default is 302. */ public $languageRedirectCode = 302; + /** + * @var string the language that was initially set in the application + * configuration + */ + protected $_defaultLanguage; + /** * @var \yii\web\Request */