Cleanup phpdoc comments
[civicrm-core.git] / CRM / Mailing / Event / BAO / Queue.php
index 1eb89db6e10dcab16146ac7e2c75e0a2d59e942a..b565ee3eeb06f5a57fbf5eb73d603ed8964e9509 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -44,13 +44,13 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
   /**
    * Queue a new recipient
    *
-   * @param array     The values of the new EventQueue
+   * @param array $params values of the new EventQueue
    *
-   * @return object   The new EventQueue
+   * @return CRM_Mailing_Event_BAO_Queue   The new EventQueue
    * @access public
    * @static
    */
-  public static function &create(&$params) {
+  public static function create($params) {
     $eq = new CRM_Mailing_Event_BAO_Queue();
     $eq->copyValues($params);
     $eq->hash = self::hash($params);
@@ -269,6 +269,11 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
     return $mailing;
   }
 
+  /**
+   * @param int $queueID
+   *
+   * @return array
+   */
   public static function getContactInfo($queueID) {
     $query = "
 SELECT DISTINCT(civicrm_mailing_event_queue.contact_id) as contact_id,
@@ -293,6 +298,10 @@ SELECT DISTINCT(civicrm_mailing_event_queue.contact_id) as contact_id,
     return array($displayName, $email);
   }
 
+  /**
+   * @param array $params
+   * @param null $now
+   */
   static function bulkCreate($params, $now = NULL) {
     if (!$now) {
       $now = time();