From c7e296bc959106beb60d39e2dd3d7b2b5d27e199 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 25 Jan 2016 15:33:06 +0100 Subject: [PATCH] Added type-hints for EndNoticeWhoGets hooks Signed-off-by: Roland Haeder --- plugins/Poll/PollPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Poll/PollPlugin.php b/plugins/Poll/PollPlugin.php index 78262fdabc..a65152200e 100644 --- a/plugins/Poll/PollPlugin.php +++ b/plugins/Poll/PollPlugin.php @@ -404,7 +404,7 @@ class PollPlugin extends MicroAppPlugin // Hide poll responses for @chuck - function onEndNoticeWhoGets($notice, &$ni) { + function onEndNoticeWhoGets(Notice $notice, array &$ni) { if ($notice->object_type == self::POLL_RESPONSE_OBJECT) { foreach ($ni as $id => $source) { $user = User::getKV('id', $id); -- 2.39.5