bulk comment fix
[civicrm-core.git] / CRM / Queue / Queue / Sql.php
index ddc0892a4dcc3868f50d4b954fc4285e8a4534bb..9a7b638e91952ac6aca1d5402b815cab7e9c635c 100644 (file)
@@ -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
    */