Stricter typing in Realtime plugin functions
This commit is contained in:
parent
6b4c331060
commit
f522c08438
|
@ -311,7 +311,7 @@ class RealtimePlugin extends Plugin
|
|||
return false; // No default processing
|
||||
}
|
||||
|
||||
function noticeAsJson($notice)
|
||||
function noticeAsJson(Notice $notice)
|
||||
{
|
||||
// FIXME: this code should be abstracted to a neutral third
|
||||
// party, like Notice::asJson(). I'm not sure of the ethics
|
||||
|
@ -347,7 +347,7 @@ class RealtimePlugin extends Plugin
|
|||
return $arr;
|
||||
}
|
||||
|
||||
function getNoticeTags($notice)
|
||||
function getNoticeTags(Notice $notice)
|
||||
{
|
||||
$tags = null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user