]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Contacts.php
Merge pull request #11002 from nupplaphil/feat/modules_constructor
[friendica.git] / src / Module / Contact / Contacts.php
index 1e3e582c0e55a1355303d0bb0a3d73239cc61f5c..bfe689c1e3997a3c1fac3710509c2287d4b17c30 100644 (file)
@@ -14,7 +14,7 @@ use Friendica\Network\HTTPException;
 
 class Contacts extends BaseModule
 {
-       public static function content()
+       public function content(): string
        {
                $app = DI::app();
 
@@ -22,8 +22,8 @@ class Contacts extends BaseModule
                        throw new HTTPException\ForbiddenException();
                }
 
-               $cid = static::$parameters['id'];
-               $type = static::$parameters['type'] ?? 'all';
+               $cid = $this->parameters['id'];
+               $type = $this->parameters['type'] ?? 'all';
                $accounttype = $_GET['accounttype'] ?? '';
                $accounttypeid = User::getAccountTypeByString($accounttype);