mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-16 03:28:56 +08:00
Fix PHPStan errors (#20603)
This commit is contained in:
@@ -149,7 +149,10 @@ class AssetBundle extends BaseObject
|
||||
*/
|
||||
public static function register($view)
|
||||
{
|
||||
return $view->registerAssetBundle(get_called_class());
|
||||
/** @var static */
|
||||
$result = $view->registerAssetBundle(get_called_class());
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user