]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/OpenSearch.php
parameters now are having a default value and are optional
[friendica.git] / src / Module / OpenSearch.php
index 89cf53055d1d2f6b90efb99ec22d88950e2c48b5..309db6af950c5b2ae5f64313e5627377a21bd659 100644 (file)
@@ -16,7 +16,7 @@ class OpenSearch extends BaseModule
        /**
         * @throws \Exception
         */
-       public static function rawContent($parameters)
+       public static function rawContent(array $parameters = [])
        {
                header('Content-type: application/opensearchdescription+xml');