]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php
Added checked type-hint for StartNoticeDistribute event.
[quix0rs-gnu-social.git] / plugins / GNUsocialPhotos / GNUsocialPhotosPlugin.php
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) {