*/
class Participant extends PHPUnit_Framework_Testcase {
/**
- * Helper function to create a Participant
+ * Helper function to create a Participant.
*
* @param int $contactId
* @param int $eventId
}
/**
- * Helper function to delete a participant
+ * Helper function to delete a participant.
*
* @param int $participantId
- * @return boolean
+ * @return bool
* true if participant deleted, false otherwise
*/
public static function delete($participantId) {
require_once 'CRM/Event/BAO/Participant.php';
return CRM_Event_BAO_Participant::deleteParticipant($participantId);
}
+
}