Changes:
- changed to proper "use Foo\Bar;" - added doctag - added return type as this is fixed
This commit is contained in:
parent
d7d2ad77ff
commit
2c5685c89c
1 changed files with 8 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue