- changed to proper "use Foo\Bar;"
- added doctag
- added return type as this is fixed
This commit is contained in:
Roland Häder 2022-06-19 01:10:50 +02:00
parent d7d2ad77ff
commit 2c5685c89c
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77

View file

@ -22,6 +22,7 @@
namespace Friendica\Model; namespace Friendica\Model;
use Friendica\Core\Addon; use Friendica\Core\Addon;
use Friendica\Core\Config\Capability\IManageConfigValues;
use Friendica\Database\DBA; use Friendica\Database\DBA;
use Friendica\DI; use Friendica\DI;
use stdClass; use stdClass;
@ -156,7 +157,13 @@ class Nodeinfo
return $services; 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 = [ $organization = [
'name' => null, 'name' => null,