- changed to proper "use Foo\Bar;"
- added doctag
- added return type as this is fixed
namespace Friendica\Model;
use Friendica\Core\Addon;
+use Friendica\Core\Config\Capability\IManageConfigValues;
use Friendica\Database\DBA;
use Friendica\DI;
use stdClass;
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,