projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0179e
)
Added type-hints for EndNoticeWhoGets hooks
author
Roland Haeder
<roland@mxchange.org>
Mon, 25 Jan 2016 14:33:06 +0000
(15:33 +0100)
committer
Roland Haeder
<roland@mxchange.org>
Mon, 25 Jan 2016 14:33:06 +0000
(15:33 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/Poll/PollPlugin.php
patch
|
blob
|
history
diff --git
a/plugins/Poll/PollPlugin.php
b/plugins/Poll/PollPlugin.php
index 78262fdabcbd8092284b3a770202afb0be1eab9d..a65152200e113503608c9d938fb2892b385af81c 100644
(file)
--- 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);