PHP 8.2 - declare property _fields
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 28 Mar 2023 04:01:56 +0000 (17:01 +1300)
committerColeman Watts <coleman@civicrm.org>
Tue, 28 Mar 2023 18:26:33 +0000 (14:26 -0400)
Really we want to merge this into entityFields but it wasn't as easy as I hoped

CRM/Admin/Form/PaymentProcessor.php

index c5b5263c521078e4d02f8a0c2af3412b6eba86e2..d247be00305c496ce2527cca5cdd9d23e0d9038a 100644 (file)
@@ -39,6 +39,11 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form {
    */
   protected $_paymentProcessorType;
 
+  /**
+   * @var array|array[]
+   */
+  private $_fields;
+
   /**
    * Set entity fields to be assigned to the form.
    */
@@ -157,6 +162,8 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form {
    * Build the form object.
    *
    * @param bool $check
+   *
+   * @throws \CRM_Core_Exception
    */
   public function buildQuickForm($check = FALSE) {
     $this->buildQuickEntityForm();