X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FRegisterThrottle%2FRegisterThrottlePlugin.php;h=d09642a6330872d0206d5a00406674c87ae4a3ee;hb=d968247f754d66f76e5715b3d1e6933328270eaa;hp=9d3be3b8a26bdea267a036133e3cce4b0973e090;hpb=5e47b1b2a07d8b300c511115ca018ece172a8505;p=quix0rs-gnu-social.git diff --git a/plugins/RegisterThrottle/RegisterThrottlePlugin.php b/plugins/RegisterThrottle/RegisterThrottlePlugin.php index 9d3be3b8a2..d09642a633 100644 --- a/plugins/RegisterThrottle/RegisterThrottlePlugin.php +++ b/plugins/RegisterThrottle/RegisterThrottlePlugin.php @@ -91,7 +91,7 @@ class RegisterThrottlePlugin extends Plugin * * @return boolean hook value */ - public function onStartRegistrationTry($action) + public function onStartRegistrationTry(Action $action) { $ipaddress = $this->_getIpAddress(); @@ -241,7 +241,7 @@ class RegisterThrottlePlugin extends Plugin * * @return boolean hook value */ - public function onEndGrantRole($profile, $role) + public function onEndGrantRole(Profile $profile, $role) { if (!self::$enabled) { return true;