Merge pull request #3679 from yashodha/CRM-14951
[civicrm-core.git] / api / v3 / Activity.php
index e9d62d1ac74bdae16abc2e48eb4b50eee60f5db1..c7d033ec6a7face4fe37a68cd638ff51288be445 100644 (file)
 /**
  * Creates or updates an Activity. See the example for usage
  *
- * @param array  $params       Associative array of property name/value
+ * @param array $params Associative array of property name/value
  *                             pairs for the activity.
  * {@getfields activity_create}
  *
+ * @throws API_Exception
  * @return array Array containing 'is_error' to denote success or failure and details of the created activity
  *
  * @example ActivityCreate.php Standard create example
  * @example Activity/ContactRefCustomField.php Create example including setting a contact reference custom field
  * {@example ActivityCreate.php 0}
- *
  */
 function civicrm_api3_activity_create($params) {