mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
Fixes #3897: Raised visibility of yii\web\View::registerAssetFiles()
to protected
This commit is contained in:
@ -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)
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user