We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f522c084 authored by mattl's avatar mattl

Stricter typing in Realtime plugin functions

parent 6b4c3310
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment