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