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
@@ -40,7 +40,7 @@ class TweetInQueueHandler extends QueueHandler
|
||||
return 'tweetin';
|
||||
}
|
||||
|
||||
function handle($data)
|
||||
function handle($data) : bool
|
||||
{
|
||||
// JSON object with Twitter data
|
||||
$status = $data['status'];
|
||||
|
Reference in New Issue
Block a user