mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-27 04:10:30 +08:00
Merge pull request #1258 from cebe/self-static
Changed usage of self to static to allow extendibility
This commit is contained in:
@@ -66,7 +66,7 @@ class Widget extends \yii\base\Widget
|
||||
/** @var \yii\web\AssetBundle $assetBundle */
|
||||
$assetBundle::register($view);
|
||||
/** @var \yii\web\AssetBundle $themeAsset */
|
||||
$themeAsset = self::$theme;
|
||||
$themeAsset = static::$theme;
|
||||
$themeAsset::register($view);
|
||||
|
||||
$id = $this->options['id'];
|
||||
|
||||
Reference in New Issue
Block a user