From: Roland Haeder Date: Fri, 3 Jul 2015 23:29:39 +0000 (+0200) Subject: Found these missing, still there is one that says 'Action' as type-hint. Please inves... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=597a3c89edd7200ab069f0e43c4f63406ca3d7f9;p=quix0rs-gnu-social.git Found these missing, still there is one that says 'Action' as type-hint. Please investigate. Signed-off-by: Roland Haeder --- diff --git a/plugins/Activity/ActivityPlugin.php b/plugins/Activity/ActivityPlugin.php index 5144eb4666..65920c27e4 100644 --- a/plugins/Activity/ActivityPlugin.php +++ b/plugins/Activity/ActivityPlugin.php @@ -272,7 +272,7 @@ class ActivityPlugin extends Plugin return true; } - function onStartShowNoticeItem($nli) + function onStartShowNoticeItem(NoticeListItem $nli) { $notice = $nli->notice; diff --git a/plugins/ShareNotice/ShareNoticePlugin.php b/plugins/ShareNotice/ShareNoticePlugin.php index 7a6fd28fee..2c199efec0 100644 --- a/plugins/ShareNotice/ShareNoticePlugin.php +++ b/plugins/ShareNotice/ShareNoticePlugin.php @@ -37,7 +37,7 @@ class ShareNoticePlugin extends Plugin return true; } - function onStartShowNoticeItem($item) + function onStartShowNoticeItem(NoticeListItem $item) { $notice = $item->notice; $out = $item->out;