]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added missing type-hints for EndNoticeSave(Web) (different).
authorRoland Haeder <roland@mxchange.org>
Mon, 25 Jan 2016 14:47:25 +0000 (15:47 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Mar 2020 22:21:32 +0000 (00:21 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/ActivitySpam/ActivitySpamPlugin.php
plugins/NoticeTitle/NoticeTitlePlugin.php

index 5e5adf972cc3cf527673db30275c7d40f523846e..e4cdc40d3e22c2eb1e1c40d3e0b338ac1f2bcbaf 100644 (file)
@@ -102,7 +102,7 @@ class ActivitySpamPlugin extends Plugin
      * @return boolean hook value; true means continue processing, false means stop.
      */
 
-    function onEndNoticeSave($notice)
+    function onEndNoticeSave(Notice $notice)
     {
         try {
 
index 7721c343dd6250d7ed636d12053266a821694aee..f43d5225c3cd4d11b872e894b405eb82d4174981 100644 (file)
@@ -154,7 +154,7 @@ class NoticeTitlePlugin extends Plugin
      *
      * @return boolean hook value
      */
-    function onEndNoticeSaveWeb($action, $notice)
+    function onEndNoticeSaveWeb(Action $action, Notice $notice)
     {
         if (!empty($notice)) {