Fix PHPStan errors (#20603)

This commit is contained in:
Maksim Spirkov
2025-10-14 12:38:07 +03:00
committed by GitHub
parent d71f7309ae
commit 287d0fa074
7 changed files with 18 additions and 11 deletions

View File

@@ -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;
}
/**