X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FTwoFactor%2FVerify.php;h=f6f040f5a781f1c9271bb3bf2c17674e60713568;hb=fd706cf9a7a0c4700838a1f00b12d8fd37323b7c;hp=daef9f60a5491c02a1671ac955f32bd9c43ed527;hpb=bd62d548db39b617d087aabb536435004adf0470;p=friendica.git diff --git a/src/Module/TwoFactor/Verify.php b/src/Module/TwoFactor/Verify.php index daef9f60a5..f6f040f5a7 100644 --- a/src/Module/TwoFactor/Verify.php +++ b/src/Module/TwoFactor/Verify.php @@ -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();