]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/HTTPException/MethodNotAllowed.php
Merge pull request #11528 from annando/logruntime
[friendica.git] / src / Module / HTTPException / MethodNotAllowed.php
index f100bba492acc5b1352733b7d4b30f9f650443df..7dc3737596bb19c52c20bf9609e1b3d729641177 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -27,7 +27,7 @@ use Friendica\Network\HTTPException;
 
 class MethodNotAllowed extends BaseModule
 {
-       public static function content(array $parameters = [])
+       protected function content(array $request = []): string
        {
                throw new HTTPException\MethodNotAllowedException(DI::l10n()->t('Method Not Allowed.'));
        }