Merge pull request #5449 from pratikshad/fixedWebtest4.6
[civicrm-core.git] / CRM / Core / BAO / UFMatch.php
index 6df82a970707606e045a7e68440775d76d4a10f2..d0fb614a30b679dd84dfb9cdc2f5b1c3df557526 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -41,7 +41,9 @@ class CRM_Core_BAO_UFMatch extends CRM_Core_DAO_UFMatch {
   /**
    * Create UF Match, Note that thsi function is here in it's simplest form @ the moment
    *
-   * @return CRM_Core_DAO_UFMatch
+   * @param $params
+   *
+   * @return \CRM_Core_DAO_UFMatch
    */
   public static function create($params) {
     $hook = empty($params['id']) ? 'create' : 'edit';
@@ -354,7 +356,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Update the uf_name in the user object
+   * Update the uf_name in the user object.
    *
    * @param int $contactId
    *   Id of the contact to update.
@@ -407,7 +409,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Update the email value for the contact and user profile
+   * Update the email value for the contact and user profile.
    *
    * @param int $contactId
    *   Contact ID of the user.
@@ -463,7 +465,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Delete the object records that are associated with this cms user
+   * Delete the object records that are associated with this cms user.
    *
    * @param int $ufID
    *   Id of the user to delete.
@@ -479,7 +481,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Get the contact_id given a uf_id
+   * Get the contact_id given a uf_id.
    *
    * @param int $ufID
    *   Id of UF for which related contact_id is required.
@@ -503,7 +505,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Get the uf_id given a contact_id
+   * Get the uf_id given a contact_id.
    *
    * @param int $contactID
    *   ID of the contact for which related uf_id is required.
@@ -535,7 +537,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Get the list of contact_id
+   * Get the list of contact_id.
    *
    *
    * @return int
@@ -643,4 +645,5 @@ AND    domain_id    = %4
     }
     return $ufValues[$ufID];
   }
+
 }