forked from GNUsocial/gnu-social
[REFACTOR] Added explicit return type to all instances of QueueHandler::handle
This commit is contained in:
committed by
Diogo Cordeiro
parent
aaabf82eff
commit
0030fe3aeb
@@ -31,7 +31,7 @@ class PushInQueueHandler extends QueueHandler
|
||||
return 'pushin';
|
||||
}
|
||||
|
||||
function handle($data): bool
|
||||
function handle($data) : bool
|
||||
{
|
||||
if (!is_array($data)) {
|
||||
common_log(LOG_ERR, "Got bogus data, not processing");
|
||||
|
Reference in New Issue
Block a user