]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/OpenSearch.php
Use rawContent for Special Options to avoid a protected options() method
[friendica.git] / src / Module / OpenSearch.php
index 24e039ca835cf635ed94a5e9721c098aff8e81eb..94215aaa7ae77d9a22da4bf5b78488fbf72da220 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -36,7 +36,7 @@ class OpenSearch extends BaseModule
        /**
         * @throws \Exception
         */
-       public static function rawContent(array $parameters = [])
+       protected function rawContent(array $request = [])
        {
                header('Content-type: application/opensearchdescription+xml');