clean up changes for batch 18
[civicrm-core.git] / api / v3 / Participant.php
index e19d028916219f85b6542c0fd8290fb2fae369c0..2d4742bddede9071969218929d1cb53b3e35039c 100644 (file)
@@ -48,8 +48,7 @@
  *
  * @return array
  *   apiresult
- * {@getfields participant_create}
- * @access public
+ *   {@getfields participant_create}
  */
 function civicrm_api3_participant_create($params) {
   //check that event id is not an template - should be done @ BAO layer
@@ -77,6 +76,9 @@ function civicrm_api3_participant_create($params) {
 /**
  * @todo this should be done in the BAO not the api
  * Create a default participant line item
+ * @param array $params
+ * @param $participant
+ * @throws \CiviCRM_API3_Exception
  */
 function _civicrm_api3_participant_createlineitem(&$params, $participant) {
   // it is possible that a fee level contains information about multiple
@@ -161,8 +163,7 @@ function _civicrm_api3_participant_create_spec(&$params) {
  *
  * @return array
  *   (reference )        array of properties, if error an array with an error id and error message
- * {@getfields participant_get}
- * @access public
+ *   {@getfields participant_get}
  */
 function civicrm_api3_participant_get($params) {
   $mode = CRM_Contact_BAO_Query::MODE_EVENT;
@@ -203,7 +204,6 @@ function _civicrm_api3_participant_get_spec(&$params) {
  * {@getfields participant_delete}
  * @throws Exception
  * @return array
- * @access public
  */
 function civicrm_api3_participant_delete($params) {