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 Haeder <roland@mxchange.org>
Mon, 25 Jan 2016 14:47:25 +0000 (15:47 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/ActivitySpam/ActivitySpamPlugin.php
plugins/NoticeTitle/NoticeTitlePlugin.php

index 627668402345a21ec9b5584e4b01880749713f70..4e18cc31aa26e145053416678780580676e628d9 100644 (file)
@@ -100,7 +100,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 5b302a0ce985ace6070af41cf31beaee30382244..e512cf5abe87645a410e9e448203d54eacc0accc 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)) {