Merge pull request #4768 from rohankatkar/CRM-10331Fix
[civicrm-core.git] / CRM / Contact / BAO / Contact / Location.php
index 72fcf7b4512e7233205d3b14bc2701ff2c25e75c..41f8b27c3a6b49c07575390982732fe028207b1d 100644 (file)
 class CRM_Contact_BAO_Contact_Location {
 
   /**
-   * function to get the display name, primary email, location type and location id of a contact
+   * Get the display name, primary email, location type and location id of a contact
    *
    * @param  int $id id of the contact
    *
    * @param bool $isPrimary
-   * @param null $locationTypeID
+   * @param int $locationTypeID
    *
    * @return array  of display_name, email, location type and location id if found, or (null,null,null, null)
    * @static
@@ -76,7 +76,7 @@ WHERE     civicrm_contact.id = %1";
   }
 
   /**
-   * function to get the sms number and display name of a contact
+   * Get the sms number and display name of a contact
    *
    * @param  int $id id of the contact
    *
@@ -114,12 +114,12 @@ LEFT JOIN civicrm_phone ON ( civicrm_phone.contact_id = civicrm_contact.id )
   }
 
   /**
-   * function to get the information to map a contact
+   * Get the information to map a contact
    *
    * @param  array $ids the list of ids for which we want map info
    * $param  int    $locationTypeID
    *
-   * @param null $locationTypeID
+   * @param int $locationTypeID
    * @param bool $imageUrlOnly
    *
    * @return null|string     display name of the contact if found