Merge pull request #4087 from robinmitra/master
[civicrm-core.git] / tests / phpunit / CiviTest / Contact.php
index 40b26c9250bdd3ef04c0e10156d26ef68064356d..c4f0529b600ca500223872c2834895ae65e94143 100644 (file)
@@ -1,10 +1,16 @@
 <?php
+
+/**
+ * Class Contact
+ */
 class Contact extends CiviUnitTestCase {
   /**
    * Helper function to create
    * a contact
    *
-   * @return $contactID id of created contact
+   * @param array $params
+   *
+   * @return int $contactID id of created contact
    */
   static function create($params) {
     require_once "CRM/Contact/BAO/Contact.php";
@@ -16,7 +22,8 @@ class Contact extends CiviUnitTestCase {
    * Helper function to create
    * a contact of type Individual
    *
-   * @return $contactID id of created Individual
+   * @param array $params
+   * @return int $contactID id of created Individual
    */
   static function createIndividual($params = NULL) {
     //compose the params, when not passed
@@ -37,7 +44,8 @@ class Contact extends CiviUnitTestCase {
    * Helper function to create
    * a contact of type Household
    *
-   * @return $contactID id of created Household
+   * @param array $params
+   * @return mixed $contactID id of created Household
    */
   static function createHousehold($params = NULL) {
     //compose the params, when not passed
@@ -57,7 +65,8 @@ class Contact extends CiviUnitTestCase {
    * Helper function to create
    * a contact of type Organisation
    *
-   * @return $contactID id of created Organisation
+   * @param array $params
+   * @return mixed $contactID id of created Organisation
    */
   static function createOrganisation($params = NULL) {
     //compose the params, when not passed