Skip to content

Commit

Permalink
Fix "Deprecated: Creation of dynamic property ... is deprecated".
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Nov 27, 2023
1 parent a22c166 commit 3d38755
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
use FrmProNotification;
use FrmRegAppController;
use FrmRegNotification;
use Pronamic\WordPress\Money\Currency;
use Pronamic\WordPress\Money\Money;
use Pronamic\WordPress\Pay\AbstractPluginIntegration;
use Pronamic\WordPress\Pay\Core\PaymentMethods;
use Pronamic\WordPress\Pay\Payments\PaymentStatus;
Expand Down Expand Up @@ -96,10 +94,10 @@ public function setup() {
add_filter( 'frm_register_action_options', [ $this, 'add_payment_trigger_to_register_user_action' ] );

// Field types.
$this->field_type_bank_select = new BankSelectFieldType();
new BankSelectFieldType();

if ( FormidableForms::version_compare( '3.0.0', '>' ) ) {
$this->field_type_payment_method_select = new PaymentMethodSelectFieldType();
new PaymentMethodSelectFieldType();
}
}

Expand Down

0 comments on commit 3d38755

Please sign in to comment.