X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=cc765fa529c1ec6c1a2f4c4974de013e957cdea6;hb=f87eeb2f2866f21511069df9adf199bf68610c1d;hp=24f06d2793eed7f5bd97de534434159c1233b42d;hpb=b168ff3e1708fd1de4daaaeeabf3dea3fc293f69;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 24f06d2793..cc765fa529 100644 --- a/src/DI.php +++ b/src/DI.php @@ -126,10 +126,7 @@ abstract class DI return self::$dice->create(App\Arguments::class); } - /** - * @return App\BaseURL - */ - public static function baseUrl() + public static function baseUrl(): App\BaseURL { return self::$dice->create(App\BaseURL::class); } @@ -382,14 +379,6 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\Error::class); } - /** - * @return Factory\Api\Mastodon\FollowRequest - */ - public static function mstdnFollowRequest() - { - return self::$dice->create(Factory\Api\Mastodon\FollowRequest::class); - } - /** * @return Factory\Api\Mastodon\Poll */