[REFACTOR] Added explicit return type to all instances of QueueHandler::handle

This commit is contained in:
Miguel Dantas
2019-08-09 00:15:38 +01:00
committed by Diogo Cordeiro
parent aaabf82eff
commit 0030fe3aeb
34 changed files with 34 additions and 34 deletions

View File

@@ -31,7 +31,7 @@ class HubOutQueueHandler extends QueueHandler
return 'hubout';
}
function handle($data)
function handle($data) : bool
{
assert(array_key_exists('atom', $data));
assert(is_string($data['atom']));