X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=cb6166692f8ed59e82065bf8f6eb1c58dd4bb154;hb=fcddf24f8808d18c2f5697994d64bddb88d4120a;hp=5986ca96152d7a599f82b9a73d9bc407ab9ba6ab;hpb=9d00e4f1bc8f6ec95bd4ab450676ab039b2ee2f9;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 5986ca9615..cb6166692f 100644 --- a/src/DI.php +++ b/src/DI.php @@ -279,6 +279,14 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\Relationship::class); } + /** + * @return Factory\Api\Mastodon\Status + */ + public static function mstdnStatus() + { + return self::$dice->create(Factory\Api\Mastodon\Status::class); + } + /** * @return Factory\Api\Twitter\User */ @@ -328,11 +336,11 @@ abstract class DI // /** - * @return Network\HTTPRequest + * @return Network\IHTTPRequest */ public static function httpRequest() { - return self::$dice->create(Network\HTTPRequest::class); + return self::$dice->create(Network\IHTTPRequest::class); } //