From e9d619eb5f58af926bb71560e1bc0e45e77d29dd Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 24 May 2014 16:12:06 +1200 Subject: [PATCH] minor comment fixes --- api/v3/MembershipStatus.php | 2 +- api/v3/ParticipantStatusType.php | 3 +-- api/v3/WordReplacement.php | 13 ++++++------- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/api/v3/MembershipStatus.php b/api/v3/MembershipStatus.php index a02cd3c484..ddaf0bc6e1 100644 --- a/api/v3/MembershipStatus.php +++ b/api/v3/MembershipStatus.php @@ -81,7 +81,7 @@ function civicrm_api3_membership_status_get($params) { * Update an existing membership status * * This api is used for updating an existing membership status. - * Required parrmeters : id of a membership status + * Required parameters : id of a membership status * * @param Array $params an associative array of name/value property values of civicrm_membership_status * @deprecated - should just use create diff --git a/api/v3/ParticipantStatusType.php b/api/v3/ParticipantStatusType.php index 43b8b30534..48c435c6a9 100644 --- a/api/v3/ParticipantStatusType.php +++ b/api/v3/ParticipantStatusType.php @@ -80,8 +80,7 @@ function civicrm_api3_participant_status_type_get($params) { * @param array $params (reference) array containing id of the group * to be deleted * - * @return array (referance) returns flag true if successfull, error - * message otherwise + * @return array api result array * {@getfields ParticipantStatusType_delete} * @example ParticipantStatusTypeDelete.php * @access public diff --git a/api/v3/WordReplacement.php b/api/v3/WordReplacement.php index 01d92f49bf..a504f15cb1 100644 --- a/api/v3/WordReplacement.php +++ b/api/v3/WordReplacement.php @@ -40,7 +40,7 @@ /** * Get CiviCRM Word Replacement details * {@getfields word_replacement_create} - * + * */ function civicrm_api3_word_replacement_get($params) { $bao = new CRM_Core_BAO_WordReplacement(); @@ -57,7 +57,7 @@ function civicrm_api3_word_replacement_get($params) { * @param array $params * * @return array - * + * * {@getfields word_replacement_create} */ function civicrm_api3_word_replacement_create($params) { @@ -78,14 +78,13 @@ function _civicrm_api3_word_replacement_create_spec(&$params) { * delete an existing word_replacement * * - * @param array $params (reference) array containing id of the word_replacement - * to be deleted + * @param array $params array containing id of the word_replacement + * to be deleted * - * @return array (referance) returns flag true if successfull, error - * message otherwise + * @return array api result array * * @access public */ function civicrm_api3_word_replacement_delete($params) { return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params); -} \ No newline at end of file +} -- 2.25.1