From: Roland Haeder Date: Mon, 25 Jan 2016 14:44:50 +0000 (+0100) Subject: Added type-hint for EndNoticeInScope hook. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=38125044b004b7167b66934bdd7be790d8243cbf;p=quix0rs-gnu-social.git Added type-hint for EndNoticeInScope hook. Signed-off-by: Roland Haeder --- diff --git a/plugins/ActivitySpam/ActivitySpamPlugin.php b/plugins/ActivitySpam/ActivitySpamPlugin.php index 0bc433b94e..b0ea898d66 100644 --- a/plugins/ActivitySpam/ActivitySpamPlugin.php +++ b/plugins/ActivitySpam/ActivitySpamPlugin.php @@ -230,7 +230,7 @@ class ActivitySpamPlugin extends Plugin return true; } - function onEndNoticeInScope($notice, $profile, &$bResult) + function onEndNoticeInScope(Notice $notice, Profile $profile, &$bResult) { if ($this->hideSpam) { if ($bResult) {