[CORE][QUEUE] Error checking and type declaration on handling notice queue events
Patch submitted by XRevan86
This commit is contained in:
committed by
Diogo Cordeiro
parent
de91d28f6f
commit
aaabf82eff
@@ -46,7 +46,7 @@ class QueueHandler
|
||||
* @param mixed $object
|
||||
* @return boolean true on success, false on failure
|
||||
*/
|
||||
function handle($object)
|
||||
function handle($object): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user