X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FQueue%2FQueue%2FSql.php;h=9a7b638e91952ac6aca1d5402b815cab7e9c635c;hb=fd31fa4c65b766d62df21f578772960955322576;hp=ddc0892a4dcc3868f50d4b954fc4285e8a4534bb;hpb=b67022d16d25106799f57d39e9301b3f00af619c;p=civicrm-core.git diff --git a/CRM/Queue/Queue/Sql.php b/CRM/Queue/Queue/Sql.php index ddc0892a4d..9a7b638e91 100644 --- a/CRM/Queue/Queue/Sql.php +++ b/CRM/Queue/Queue/Sql.php @@ -84,7 +84,7 @@ class CRM_Queue_Queue_Sql extends CRM_Queue_Queue { * Add a new item to the queue * * @param $data serializable PHP object or array - * @param $options queue-dependent options; for example, if this is a + * @param array|\queue $options queue-dependent options; for example, if this is a * priority-queue, then $options might specify the item's priority * * @return bool, TRUE on success @@ -116,7 +116,7 @@ class CRM_Queue_Queue_Sql extends CRM_Queue_Queue { /** * Get the next item * - * @param $lease_time seconds + * @param int|\seconds $lease_time seconds * * @return object with key 'data' that matches the inputted data */ @@ -165,7 +165,7 @@ class CRM_Queue_Queue_Sql extends CRM_Queue_Queue { /** * Get the next item, even if there's an active lease * - * @param $lease_time seconds + * @param int|\seconds $lease_time seconds * * @return object with key 'data' that matches the inputted data */