]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Feed.php
Standards
[friendica.git] / src / Module / Feed.php
index 0eca46b1ab8b108e947936e1ff766ec6bc388f4a..f4a671c055b1a2120e11e7da1578d624a282e5f4 100644 (file)
@@ -41,7 +41,7 @@ use Friendica\Protocol\Feed as ProtocolFeed;
  */
 class Feed extends BaseModule
 {
-       public static function content()
+       protected function content(array $request = []): string
        {
                $a = DI::app();
 
@@ -68,7 +68,7 @@ class Feed extends BaseModule
                }
 
                header("Content-type: application/atom+xml; charset=utf-8");
-               echo ProtocolFeed::atom(static::$parameters['nickname'], $last_update, 10, $type, $nocache, true);
+               echo ProtocolFeed::atom($this->parameters['nickname'], $last_update, 10, $type, $nocache, true);
                exit();
        }
 }