From: Michael Date: Wed, 11 Dec 2019 06:54:31 +0000 (+0000) Subject: Added parameter description X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=203857ede051eeea2013b9160960dcebbe40eccf;p=friendica.git Added parameter description --- diff --git a/src/Api/Mastodon/Instance.php b/src/Api/Mastodon/Instance.php index fef7394cc6..890c83c092 100644 --- a/src/Api/Mastodon/Instance.php +++ b/src/Api/Mastodon/Instance.php @@ -2,8 +2,7 @@ namespace Friendica\Api\Mastodon; -use Friendica\Core\Protocol; - +use Friendica\App; use Friendica\Api\Mastodon\Account; use Friendica\Api\Mastodon\Stats; use Friendica\Core\Config; @@ -48,10 +47,12 @@ class Instance /** * Creates an instance record * + * @param App $app + * * @return Instance * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ - public static function get($app) { + public static function get(App $app) { $register_policy = intval(Config::get('config', 'register_policy')); $instance = new Instance();