[REFACTOR] Added explicit return type to all instances of QueueHandler::handle
This commit is contained in:
committed by
Diogo Cordeiro
parent
aaabf82eff
commit
0030fe3aeb
@@ -64,7 +64,7 @@ class SiteEmailSummaryHandler extends QueueHandler
|
||||
* @param mixed $object
|
||||
* @return boolean true on success, false on failure
|
||||
*/
|
||||
function handle($object)
|
||||
function handle($object) : bool
|
||||
{
|
||||
$qm = QueueManager::get();
|
||||
|
||||
|
@@ -64,7 +64,7 @@ class UserEmailSummaryHandler extends QueueHandler
|
||||
* @param mixed $object
|
||||
* @return boolean true on success, false on failure
|
||||
*/
|
||||
function handle($user_id)
|
||||
function handle($user_id) : bool
|
||||
{
|
||||
// Skip if they've asked not to get summaries
|
||||
|
||||
|
Reference in New Issue
Block a user