From 9637d4befcb65b4d4c00adbd37fcb8f5506d57ac Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 28 Apr 2014 11:46:25 -0700 Subject: [PATCH] remove & before function --- CRM/Event/BAO/Event.php | 1 + CRM/Event/BAO/ParticipantPayment.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index 5e89cd6318..4f8a9cdd18 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -123,6 +123,7 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event { * * @param array $params reference array contains the values submitted by the form * + * @return object * @access public * @static * diff --git a/CRM/Event/BAO/ParticipantPayment.php b/CRM/Event/BAO/ParticipantPayment.php index db00d49166..663d0fb555 100644 --- a/CRM/Event/BAO/ParticipantPayment.php +++ b/CRM/Event/BAO/ParticipantPayment.php @@ -44,7 +44,7 @@ class CRM_Event_BAO_ParticipantPayment extends CRM_Event_DAO_ParticipantPayment * @return object the partcipant payment record * @static */ - static function &create(&$params, &$ids) { + static function create(&$params, &$ids) { if (isset($ids['id'])) { CRM_Utils_Hook::pre('edit', 'ParticipantPayment', $ids['id'], $params); } -- 2.25.1