]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/HTTPException/PageNotFound.php
parameters now are having a default value and are optional
[friendica.git] / src / Module / HTTPException / PageNotFound.php
index 90192efca16dc4fa6520fc9f55b1493cfd3e1786..c79d9c2778521d0e24c1b21fea021ca30a091e3e 100644 (file)
@@ -8,7 +8,7 @@ use Friendica\Network\HTTPException;
 
 class PageNotFound extends BaseModule
 {
-       public static function content($parameters)
+       public static function content(array $parameters = [])
        {
                throw new HTTPException\NotFoundException(L10n::t('Page not found.'));
        }