From: Roland Häder Date: Sat, 18 Jun 2022 23:10:50 +0000 (+0200) Subject: Changes: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2c5685c89cc9c0e9420726a0d7297bbf66fe40e6;p=friendica.git Changes: - changed to proper "use Foo\Bar;" - added doctag - added return type as this is fixed --- diff --git a/src/Model/Nodeinfo.php b/src/Model/Nodeinfo.php index 2695d234d6..047fe0e58a 100644 --- a/src/Model/Nodeinfo.php +++ b/src/Model/Nodeinfo.php @@ -22,6 +22,7 @@ namespace Friendica\Model; use Friendica\Core\Addon; +use Friendica\Core\Config\Capability\IManageConfigValues; use Friendica\Database\DBA; use Friendica\DI; use stdClass; @@ -156,7 +157,13 @@ class Nodeinfo return $services; } - public static function getOrganization(\Friendica\Core\Config\Capability\IManageConfigValues $config) + /** + * Gathers organization information and returns it as an array + * + * @param IManageConfigValues $config Configuration instance + * @return array Organization information + */ + public static function getOrganization(IManageConfigValues $config): array { $organization = [ 'name' => null,