]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Photo.php
parameters now are having a default value and are optional
[friendica.git] / src / Module / Photo.php
index 58199a08da763aeb2794648cce5f9dd8b46e8398..9987c38f517041224be88a2895ed961e0b83dbb9 100644 (file)
@@ -23,7 +23,7 @@ class Photo extends BaseModule
         * Fetch a photo or an avatar, in optional size, check for permissions and
         * return the image
         */
-       public static function init($parameters)
+       public static function init(array $parameters = [])
        {
                $a = self::getApp();
                // @TODO: Replace with parameter from router