comment fixes, formatting, duplicate array key
authorEileen McNaughton <eileen@fuzion.co.nz>
Mon, 8 Sep 2014 00:23:27 +0000 (12:23 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Mon, 8 Sep 2014 00:23:27 +0000 (12:23 +1200)
CRM/Contact/Import/Parser/Contact.php
CRM/Member/BAO/Membership.php
api/v3/Setting.php

index 3cc01b3fd135c8c1d95379d1b35bf86021445571..5c452b00adff2e6c8ac20c1dd9ad1d4dbaeefe4b 100644 (file)
@@ -1593,7 +1593,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
    * @param $value
    * @param $valueArray
    *
-   * @return ture if value present in array or retun false
+   * @return bool
    *
    * @access public
    */
index 20d8a9206c869e1be5dd4563f84471702d7c952e..3ce24572f08bbb6caebbde99b1bdf7a64974393b 100644 (file)
@@ -436,7 +436,7 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
    * @param int $membershipId membership id
    * @param int $contactId contact id
    *
-   * @param const $action
+   * @param integer $action
    *
    * @return Array    array of contact_id of all related contacts.
    * @static
index c9a2a139ea430a96ea8c84c955c976b67a737f15..8e81b94d61671df10f755004cff3adde9776d880 100644 (file)
@@ -42,7 +42,7 @@ function civicrm_api3_setting_getfields($params) {
         'title' => 'name of setting field',
         'api.required' => 1,
         'type' => CRM_Utils_Type::T_STRING),
-      'group' => array('title' => 'name of setting field',
+      'group' => array(
         'api.required' => 0,
         'title' => 'Setting Group',
         'description' => 'Settings Group. This is required if the setting is not stored in config',
@@ -241,7 +241,7 @@ function _civicrm_api3_setting_create_spec(&$params) {
 function civicrm_api3_setting_get($params) {
   $domains = _civicrm_api3_setting_getDomainArray($params);
   $result =   $result = CRM_Core_BAO_Setting::getItems($params, $domains, CRM_Utils_Array::value('return', $params, array()));
-  return civicrm_api3_create_success($result,$params,'setting','get');
+  return civicrm_api3_create_success($result, $params,'setting','get');
 }
 /**
  * Metadata for setting create function