]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added checked type-hint for StartNoticeDistribute event.
authorRoland Haeder <roland@mxchange.org>
Wed, 18 Mar 2015 16:12:55 +0000 (17:12 +0100)
committerRoland Haeder <roland@mxchange.org>
Wed, 18 Mar 2015 16:12:55 +0000 (17:12 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/ForceGroup/ForceGroupPlugin.php
plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php

index 56e33355e86703ecc5d356ccf911d46a07704141..a27436e6fa6c6c848908cfa51ec05b6977d6c4dd 100644 (file)
@@ -49,7 +49,7 @@ class ForceGroupPlugin extends Plugin
      * @param Notice $notice
      * @return boolean event hook return
      */
-    function onStartNoticeDistribute($notice)
+    function onStartNoticeDistribute(Notice $notice)
     {
         $profile = $notice->getProfile();
 
index 2d03fe2afc6ad23c1346d9c8146d7434f6dfd3a8..5e0f3f780efb27a3f02dfabee5beb1d9c440ace6 100644 (file)
@@ -54,7 +54,7 @@ class GNUsocialPhotosPlugin extends Plugin
         return true;
     }
 
-    function onStartNoticeDistribute($notice)
+    function onStartNoticeDistribute(Notice $notice)
     {
         common_log(LOG_INFO, "event: StartNoticeDistribute");
         if (GNUsocialPhotoTemp::$tmp) {