[REFACTOR] Added explicit return type to all instances of QueueHandler::handle
This commit is contained in:
committed by
Diogo Cordeiro
parent
aaabf82eff
commit
0030fe3aeb
@@ -40,7 +40,7 @@ class PluginQueueHandler extends QueueHandler
|
||||
return 'plugin';
|
||||
}
|
||||
|
||||
function handle($notice): bool
|
||||
function handle($notice) : bool
|
||||
{
|
||||
if (!($notice instanceof Notice)) {
|
||||
common_log(LOG_ERR, "Got a bogus notice, not broadcasting");
|
||||
|
Reference in New Issue
Block a user