From: Eileen McNaughton Date: Tue, 13 Jan 2015 00:58:14 +0000 (+1300) Subject: a few more comment fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=488e7abaec009265c54ab3280a660dac5e19a3ce;p=civicrm-core.git a few more comment fixes --- diff --git a/api/v3/Profile.php b/api/v3/Profile.php index 0911ea7ac7..23762b9d2a 100644 --- a/api/v3/Profile.php +++ b/api/v3/Profile.php @@ -43,7 +43,7 @@ * pairs to get profile field values * * @throws API_Exception - * @return array|CRM_Error + * @return array * * NOTE this api is not standard & since it is tested we need to honour that * but the correct behaviour is for it to return an id indexed array as this supports @@ -354,7 +354,7 @@ function civicrm_api3_profile_set($params) { * pairs to profile field values * * @throws API_Exception - * @return array|CRM_Error + * @return array * * @todo add example * @todo add test cases diff --git a/api/v3/RelationshipType.php b/api/v3/RelationshipType.php index a91d302ece..d7b1eb516e 100644 --- a/api/v3/RelationshipType.php +++ b/api/v3/RelationshipType.php @@ -104,11 +104,10 @@ function civicrm_api3_relationship_type_get($params) { /** * Delete a relationship type delete * - * @param id of relationship type $id + * @param array $params * * @return array * API Result Array - * {@getfields RelationshipType_delete} */ function civicrm_api3_relationship_type_delete($params) { return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params); diff --git a/api/v3/utils.php b/api/v3/utils.php index 56ad948bfd..7deeab9744 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -848,7 +848,7 @@ function _civicrm_api3_build_fields_array(&$bao, $unique = TRUE) { /** * build fields array. This is the array of fields as it relates to the given DAO * returns unique fields as keys by default but if set but can return by DB fields - * @param CRM_Core_BAO $bao + * @param CRM_Core_DAO $bao * * @return mixed */