X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FDI.php;h=c2f53e4df9e533d768f93089ebcfa5e7cd2d7906;hb=15caf4b3f7eacda399a56b1ad8eeb9d3257306d9;hp=06397d0e235970bf97244633352b7b27d700106f;hpb=42d246ef7380df3dd63531dbc2bdb70b324e9adf;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 06397d0e23..c2f53e4df9 100644 --- a/src/DI.php +++ b/src/DI.php @@ -1,6 +1,6 @@ create(Factory\Api\Mastodon\Emoji::class); } + /** + * @return Factory\Api\Mastodon\Error + */ + public static function mstdnError() + { + return self::$dice->create(Factory\Api\Mastodon\Error::class); + } + /** * @return Factory\Api\Mastodon\Field */ @@ -403,11 +411,11 @@ abstract class DI } /** - * @return Repository\Notify + * @return Repository\Notification */ public static function notify() { - return self::$dice->create(Repository\Notify::class); + return self::$dice->create(Repository\Notification::class); } //