]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added type-hint for EndNoticeInScope hook.
authorRoland Haeder <roland@mxchange.org>
Mon, 25 Jan 2016 14:44:50 +0000 (15:44 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Mar 2020 22:21:31 +0000 (00:21 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/ActivitySpam/ActivitySpamPlugin.php

index 0bc433b94e4e54ebf62db13296e02cf2bb7b08b9..b0ea898d66c1b43faa2b3063dcfc2a7a84c552c2 100644 (file)
@@ -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) {