Merge pull request #12031 from mukeshcompucorp/fix-template-structure-issues
[civicrm-core.git] / api / v3 / Membership.php
index 560dc81000f6a60f47ecaabc828f8e957a12b32f..4f0c657a9184ad1f70425e6bc19902fccf43e221 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.7                                                |
+ | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | 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'])) {