]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Settings/UserExport.php
parameters now are having a default value and are optional
[friendica.git] / src / Module / Settings / UserExport.php
index c571be2505c00b538bfcf9ce06f8e3ba68c95687..19722a18e245aebbbee0ec596885f721d0736af6 100644 (file)
@@ -32,7 +32,7 @@ class UserExport extends BaseSettingsModule
         * If there is an action required through the URL / path, react
         * accordingly and export the requested data.
         **/
-       public static function content($parameters)
+       public static function content(array $parameters = [])
        {
                parent::content($parameters);
 
@@ -59,7 +59,7 @@ class UserExport extends BaseSettingsModule
         * to the browser which then offers a save / open dialog
         * to the user.
         **/
-       public static function rawContent($parameters)
+       public static function rawContent(array $parameters = [])
        {
                $args = self::getClass(Arguments::class);
                if ($args->getArgc() == 3) {