Merge pull request #10433 from JMAConsulting/CRM-20651
[civicrm-core.git] / api / v3 / Membership.php
index 560dc81000f6a60f47ecaabc828f8e957a12b32f..cf926cc8e7335f14443eb6ecf18151b1d85753ec 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -54,9 +54,8 @@ function _civicrm_api3_membership_delete_spec(&$params) {
  *
  * @param array $params
  *   Array array holding id - Id of the contact membership to be deleted.
- *
- * @return array
- *   API result array.
+ * @return array API result array.
+ * @throws API_Exception
  */
 function civicrm_api3_membership_delete($params) {
   if (isset($params['preserve_contribution'])) {