[REFACTOR] Added explicit return type to all instances of QueueHandler::handle
This commit is contained in:
committed by
Diogo Cordeiro
parent
aaabf82eff
commit
0030fe3aeb
@@ -70,7 +70,7 @@ class DeliciousBackupImporter extends QueueHandler
|
||||
*
|
||||
* @return boolean success value
|
||||
*/
|
||||
function handle($data)
|
||||
function handle($data) : bool
|
||||
{
|
||||
list($user, $body) = $data;
|
||||
|
||||
|
@@ -63,7 +63,7 @@ class DeliciousBookmarkImporter extends QueueHandler
|
||||
*
|
||||
* @return boolean success value
|
||||
*/
|
||||
function handle($data)
|
||||
function handle($data) : bool
|
||||
{
|
||||
$profile = Profile::getKV('id', $data['profile_id']);
|
||||
|
||||
|
Reference in New Issue
Block a user