From: Pradeep Nayak Date: Tue, 15 Mar 2022 11:08:51 +0000 (+0000) Subject: Return array for setdefaults X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=85aa1eb6213781fac25ff288cd034b4dcde5e6ae;p=civicrm-core.git Return array for setdefaults --- 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 []; } /**