Change AssetBundle.register() return type to static
Change AssetBundle.register() return type to static

Enable IDE typehints for custom AssetBundle properties (related to #2572).
yiisoft/yii2-framework,yiisoft/yii2-framework