From 8714579bcae2e6eb99467c30d63706a36719342d Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" Date: Sun, 23 Jun 2019 19:05:35 +0100 Subject: [PATCH] These pseudoconstant functions return array or string --- CRM/Event/PseudoConstant.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Event/PseudoConstant.php b/CRM/Event/PseudoConstant.php index 23143f637d..8a8e556313 100644 --- a/CRM/Event/PseudoConstant.php +++ b/CRM/Event/PseudoConstant.php @@ -193,7 +193,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { * @param int $id * @param null $cond * - * @return array + * @return array|string * array reference of all participant roles if any */ public static function &participantRole($id = NULL, $cond = NULL) { @@ -224,7 +224,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { * * @param int $id * - * @return array + * @return array|string * array reference of all participant listings if any */ public static function &participantListing($id = NULL) { @@ -245,7 +245,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { * * * @param int $id - * @return array + * @return array|string * array reference of all event types. */ public static function &eventType($id = NULL) { -- 2.25.1