]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/TwoFactor/Verify.php
Group selection: Respect "pubmail" and ignore atchived or blocked contacts
[friendica.git] / src / Module / TwoFactor / Verify.php
index daef9f60a5491c02a1671ac955f32bd9c43ed527..f6f040f5a781f1c9271bb3bf2c17674e60713568 100644 (file)
@@ -18,7 +18,7 @@ class Verify extends BaseModule
 {
        private static $errors = [];
 
-       public static function post($parameters)
+       public static function post(array $parameters = [])
        {
                if (!local_user()) {
                        return;
@@ -45,7 +45,7 @@ class Verify extends BaseModule
                }
        }
 
-       public static function content($parameters)
+       public static function content(array $parameters = [])
        {
                if (!local_user()) {
                        self::getApp()->internalRedirect();