Added type-hint for EndNoticeInScope hook.
authorRoland Haeder <roland@mxchange.org>
Mon, 25 Jan 2016 14:44:50 +0000 (15:44 +0100)
committerRoland Haeder <roland@mxchange.org>
Mon, 25 Jan 2016 14:44:50 +0000 (15:44 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/ActivitySpam/ActivitySpamPlugin.php

index 779507fe1f1b55c93438ce461768d325e4af1806..28aae82cb080cd7ceec3c24271c993411fb3a08d 100644 (file)
@@ -226,7 +226,7 @@ class ActivitySpamPlugin extends Plugin
         return true;
     }
 
-    function onEndNoticeInScope($notice, $profile, &$bResult)
+    function onEndNoticeInScope(Notice $notice, Profile $profile, &$bResult)
     {
         if ($this->hideSpam) {
             if ($bResult) {