From 988e8ba6be6ce0c11d6e3d3f6eb51b8fd0490e06 Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Thu, 21 Dec 2023 11:28:03 +0100 Subject: [PATCH] phpcbf --- src/Extension.php | 2 +- src/PaymentMethodsField.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Extension.php b/src/Extension.php index 518963a..69b1941 100644 --- a/src/Extension.php +++ b/src/Extension.php @@ -220,7 +220,7 @@ public function fulfill_order( $payment ) { // Prevent `wp_die()` in Ninja Forms response to exit script execution. \add_filter( 'wp_die_handler', - function( $handler ) { + function ( $handler ) { return '__return_true'; } ); diff --git a/src/PaymentMethodsField.php b/src/PaymentMethodsField.php index c123c22..a88ff61 100644 --- a/src/PaymentMethodsField.php +++ b/src/PaymentMethodsField.php @@ -118,7 +118,7 @@ private function get_pronamic_payment_method_options() { 'order' => $order, ]; - $order++; + ++$order; } return $options;