Merge pull request #14619 from Art4/remove-di-app-method

Remove `DI::app()`
This commit is contained in:
Hypolite Petovan 2024-12-25 22:36:25 -05:00 committed by GitHub
commit 9921abc8bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,16 +71,6 @@ abstract class DI
// common instances
//
/**
* @deprecated 2024.12 use DI::appHelper() instead
*
* @return App
*/
public static function app()
{
return self::$dice->create(App::class);
}
public static function appHelper(): AppHelper
{
return self::$dice->create(AppHelper::class);