INFRA-132 - Cleanup stray comments
[civicrm-core.git] / CRM / Core / BAO / Phone.php
index 534a55a3303f7a5f46ca0b783db49a09b6c1e0c1..b83e8ff917045bb25c377414d5b959f96e35b2c3 100644 (file)
  */
 class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone {
 
-  /*
+  /**
    * Create phone object - note that the create function calls 'add' but
    * has more business logic
    *
-   * @param array $params
-   *   Input parameters.
-   */
-  /**
    * @param array $params
    *
    * @return object
@@ -74,7 +70,6 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone {
    *
    * @return object
    *   CRM_Core_BAO_Phone object on success, null otherwise
-   * @static
    */
   public static function add(&$params) {
     // Ensure mysql phone function exists
@@ -99,7 +94,6 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone {
    *
    * @return array
    *   array of phone objects
-   * @static
    */
   public static function &getValues($entityBlock) {
     $getValues = CRM_Core_BAO_Block::getValues('phone', $entityBlock);
@@ -118,7 +112,6 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone {
    *
    * @return array
    *   the array of phone ids which are potential numbers
-   * @static
    */
   public static function allPhones($id, $updateBlankLocInfo = FALSE, $type = NULL, $filters = array()) {
     if (!$id) {
@@ -185,13 +178,12 @@ ORDER BY civicrm_phone.is_primary DESC,  phone_id ASC ";
    *
    * @param array $entityElements
    *   The array containing entity_id and.
-   * entity_table name
+   *   entity_table name
    *
    * @param null $type
    *
    * @return array
    *   the array of phone ids which are potential numbers
-   * @static
    */
   public static function allEntityPhones($entityElements, $type = NULL) {
     if (empty($entityElements)) {
@@ -244,8 +236,7 @@ ORDER BY ph.is_primary DESC, phone_id ASC ";
    * @param $optionId
    *   Value of option to be deleted.
    *
-   * return void
-   * @static
+   * @return void
    */
   public static function setOptionToNull($optionId) {
     if (!$optionId) {