From: Bradley Taylor Date: Fri, 8 Dec 2023 17:35:43 +0000 (+0000) Subject: [REF][PHP8.2] Declare properties in CRM_Contribute_Form_ContributionPage_Widget X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=34faaa0a2eadd890a40cb36f36e65ab36a9c8db0;p=civicrm-core.git [REF][PHP8.2] Declare properties in CRM_Contribute_Form_ContributionPage_Widget --- diff --git a/CRM/Contribute/Form/ContributionPage/Widget.php b/CRM/Contribute/Form/ContributionPage/Widget.php index a8b838cbb4..4cb6185c82 100644 --- a/CRM/Contribute/Form/ContributionPage/Widget.php +++ b/CRM/Contribute/Form/ContributionPage/Widget.php @@ -15,10 +15,36 @@ * @copyright CiviCRM LLC https://civicrm.org/licensing */ class CRM_Contribute_Form_ContributionPage_Widget extends CRM_Contribute_Form_ContributionPage { - protected $_colors; + /** + * Configuration for each form field + * + * @var array + * @internal + */ + public $_fields = []; + + /** + * Configuration for each color field + * + * @var array + * @internal + */ + public $_colorFields = []; + + /** + * @var CRM_Contribute_DAO_Widget + */ protected $_widget; + /** + * Name of the refresh button, + * used to display the widget preview + * + * @var string + */ + protected $_refreshButtonName; + public function preProcess() { parent::preProcess(); $this->setSelectedChild('widget');