Commit b9837d8d by andy5

Change AssetBundle.register() return type to static

Enable IDE typehints for custom AssetBundle properties (related to #2572).
parent ad06b80e
...@@ -112,7 +112,7 @@ class AssetBundle extends Object ...@@ -112,7 +112,7 @@ class AssetBundle extends Object
/** /**
* @param View $view * @param View $view
* @return AssetBundle the registered asset bundle instance * @return static the registered asset bundle instance
*/ */
public static function register($view) public static function register($view)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment