From afa019668ccd63b73dcd3cd27e74f5fd92d43c79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20H=C3=A4rtl?= Date: Wed, 4 May 2022 08:51:52 +0200 Subject: [PATCH] Fix typo --- UrlManager.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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 */