diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index 60acc8305c..828be306fc 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -111,6 +111,7 @@ Yii Framework 2 Change Log - Chg #3687: Default `sourceLanguage` and `language` are now `en-US` in order for i18n formatter to work correctly (samdark) - Chg #3804: Added `fileinfo` PHP extension to the basic requirement of Yii (Ragazzo) - Chg #3866: The `FileValidator::types` property is renamed to `FileValidator::extensions` (Ragazzo) +- Chg #3897: Raised visibility of `yii\web\View::registerAssetFiles()` to protected (samdark) - Chg: Replaced `clearAll()` and `clearAllAssignments()` in `yii\rbac\ManagerInterface` with `removeAll()`, `removeAllRoles()`, `removeAllPermissions()`, `removeAllRules()` and `removeAllAssignments()` (qiangxue) - Chg: Added `$user` as the first parameter of `yii\rbac\Rule::execute()` (qiangxue) - Chg: `yii\grid\DataColumn::getDataCellValue()` visibility is now `public` to allow accessing the value from a GridView directly (cebe) diff --git a/framework/web/View.php b/framework/web/View.php index 4b2a760e09..5438ef1407 100644 --- a/framework/web/View.php +++ b/framework/web/View.php @@ -251,7 +251,7 @@ class View extends \yii\base\View * Removes a bundle from [[assetBundles]] once files are registered. * @param string $name name of the bundle to register */ - private function registerAssetFiles($name) + protected function registerAssetFiles($name) { if (!isset($this->assetBundles[$name])) { return;