X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FQnA%2FQnAPlugin.php;h=8aa3247f9ae9ba4b52535d765b583ecef80db9dd;hb=d596513e390a4b32101f0f486d0ecf388b4aee70;hp=d874441d85a691f87aa13a2ce00bcc112564117b;hpb=49188e826cb069146c7a7e4dc7ea969e2b01d32a;p=quix0rs-gnu-social.git diff --git a/plugins/QnA/QnAPlugin.php b/plugins/QnA/QnAPlugin.php index d874441d85..8aa3247f9a 100644 --- a/plugins/QnA/QnAPlugin.php +++ b/plugins/QnA/QnAPlugin.php @@ -319,7 +319,7 @@ class QnAPlugin extends MicroAppPlugin * @param Notice $notice * @param HTMLOutputter $out */ - function showNotice($notice, $out) + function showNotice(Notice $notice, $out) { switch ($notice->object_type) { case QnA_Question::OBJECT_TYPE: @@ -337,7 +337,7 @@ class QnAPlugin extends MicroAppPlugin } } - function showNoticeQuestion($notice, $out) + function showNoticeQuestion(Notice $notice, $out) { $user = common_current_user(); @@ -427,7 +427,7 @@ class QnAPlugin extends MicroAppPlugin return false; } - function showNoticeAnswer($notice, $out) + function showNoticeAnswer(Notice $notice, $out) { $user = common_current_user();