]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/ThemeDetails.php
parameters now are having a default value and are optional
[friendica.git] / src / Module / ThemeDetails.php
index 611134d638139ca0058f32f72ae1cdcc2ac3f799..40bfb7a87189889d1ed893cd3d114ddc637ac22b 100644 (file)
@@ -10,7 +10,7 @@ use Friendica\Core\Theme;
  */
 class ThemeDetails extends BaseModule
 {
-       public static function rawContent($parameters)
+       public static function rawContent(array $parameters = [])
        {
                if (!empty($_REQUEST['theme'])) {
                        $theme = $_REQUEST['theme'];