INFRA-132 - Fix spacing of @return tag in comments
[civicrm-core.git] / api / v3 / Phone.php
index 95b830768cb273f0d4bc335badc2f88209e9df37..60749eaf525154838a38b3550c1e124210b29b7a 100644 (file)
@@ -2,7 +2,7 @@
 
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  *
  * @param array $params
  *
- * @return array of newly created phone property values.
+ * @return array
+   *   of newly created phone property values.
  * @access public
  */
 function civicrm_api3_phone_create($params) {
-  return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
+  return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'Phone');
 }
 
 /**
  * Adjust Metadata for Create action
  *
  * The metadata is used for setting defaults, documentation & validation
- * @param array $params array or parameters determined by getfields
+ * @param array $params
+ *   Array or parameters determined by getfields.
  */
 function _civicrm_api3_phone_create_spec(&$params) {
   $params['contact_id']['api.required'] = 1;
@@ -68,9 +70,10 @@ function _civicrm_api3_phone_create_spec(&$params) {
 /**
  * Deletes an existing Phone
  *
- * @param  array  $params
+ * @param array $params
  *
- * @return array Api Result
+ * @return array
+   *   Api Result
  * {@getfields phone_delete}
  * @example PhoneDelete.php
  * @access public
@@ -85,4 +88,3 @@ function civicrm_api3_phone_delete($params) {
  *  Could have been implemented here in this file too, but we moved it to illustrate the feature with a real usage.
  *
  */
-