From 85aa1eb6213781fac25ff288cd034b4dcde5e6ae Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Tue, 15 Mar 2022 11:08:51 +0000 Subject: [PATCH] Return array for setdefaults --- CRM/Core/Form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index ae31027817..6d59fd537f 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -611,11 +611,11 @@ class CRM_Core_Form extends HTML_QuickForm_Page { /** * This virtual function is used to set the default values of various form elements. * - * @return array|NULL + * @return array * reference to the array of default values */ public function setDefaultValues() { - return NULL; + return []; } /** -- 2.25.1