mirror of
https://github.com/friendica/friendica
synced 2025-01-09 15:24:44 +00:00
Remove DI::app() method
This commit is contained in:
parent
19cd11cc8e
commit
73fb1f1549
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
|
// 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
|
public static function appHelper(): AppHelper
|
||||||
{
|
{
|
||||||
return self::$dice->create(AppHelper::class);
|
return self::$dice->create(AppHelper::class);
|
||||||
|
|
Loading…
Reference in a new issue