mirror of
https://github.com/friendica/friendica
synced 2025-01-08 06:04:44 +00:00
Merge pull request #14619 from Art4/remove-di-app-method
Remove `DI::app()`
This commit is contained in:
commit
9921abc8bd
1 changed files with 0 additions and 10 deletions
10
src/DI.php
10
src/DI.php
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue