]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Attach.php
parameters now are having a default value and are optional
[friendica.git] / src / Module / Attach.php
index fe0e063b023b093867496f91b5aa68fb53ae7046..f67104015d768622e2740b56517443b71915ca55 100644 (file)
@@ -20,7 +20,7 @@ class Attach extends BaseModule
        /**
         * @brief Return to user an attached file given the id
         */
-       public static function rawContent($parameters)
+       public static function rawContent(array $parameters = [])
        {
                $a = self::getApp();
                if ($a->argc != 2) {