]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Filer/SaveTag.php
parameters now are having a default value and are optional
[friendica.git] / src / Module / Filer / SaveTag.php
index 1db3384ca5eed51977465a0f3c0a55b12ebe1916..7f0da83bceaf12f017465199cbf116be4d50fd1d 100644 (file)
@@ -14,7 +14,7 @@ use Friendica\Util\XML;
  */
 class SaveTag extends BaseModule
 {
-       public static function init($parameters)
+       public static function init(array $parameters = [])
        {
                if (!local_user()) {
                        info(L10n::t('You must be logged in to use this module'));
@@ -22,7 +22,7 @@ class SaveTag extends BaseModule
                }
        }
 
-       public static function rawContent($parameters)
+       public static function rawContent(array $parameters = [])
        {
                $a = self::getApp();
                $logger = $a->getLogger();